Search documentation
karat

+

K

Apollo API Explorer

Certain Apollo APIs are available directly through GraphQL. GraphQL is a query language that allows you to precisely fetch the data you want. This is exposed directly in your Apollo Hub through the API Explorer application. The documentation explorer lists all information accessible in your Hub through GraphQL.

The API explorer interface in Apollo showing the GraphQL query panel.

Documentation

Use the documentation explorer to view all queries and mutations available in the Apollo GraphQL schema. This presents a searchable interface to navigate through the nested schema that branches off the root-level query and mutation type.

The Show Documentation button in the API explorer sidebar.

The documentation explorer panel displaying available queries and types.

Examples

The following are introductory examples to get familiar with interacting with Apollo APIs.

  1. Getting the current user
Copied!
1 2 3 4 5 6 query GetCurrentUser { me { id fullName } }
  1. Getting a page of Environments
Copied!
1 2 3 4 5 6 7 8 9 query GetEnvironments { apollo { environments(pageSize: 100) { environments { id } } } }