Visibility API documentation

I am trying to build something like temporal web UI using Visibility api and java. Seems the java-sdk is for implementing workflow and activities and is well documented here: https://www.javadoc.io/doc/io.temporal/temporal-sdk/latest/index.html

Where is the Visibility api documented? Thanks.