GraphQL is the advanced, lower-level surface. For most integrations the REST API is simpler and gives you a stable, versioned contract. Reach for GraphQL when you specifically need its flexibility.
Endpoint
Introspection is enabled, so you can explore the full schema from any GraphQL client (GraphiQL, Apollo Sandbox, Insomnia) pointed at the endpoint.
Making a request
Schema shape
The schema is generated from the data model, so it follows consistent Relay conventions:- Connections for lists —
first/afterarguments and{ totalCount, pageInfo { hasNextPage, endCursor }, edges { node { … } } }results. (The REST API flattens these into{ data, page }.) whereinputs for filtering andorderByfor sorting on list fields.- A
Cursorscalar for pagination positions.
Choosing GraphQL vs REST vs MCP
REST
Stable, versioned, simplest to call. The default choice for scripts and servers.
MCP
For AI agents — the same operations exposed as tools over OAuth.
GraphQL
Maximum control over fields, filtering, and relationships. Advanced clients.