Where to find the GraphQL Playground URL in Sanity?

12 replies
Last updated: Nov 29, 2025
On what URL do I find the graphql playground? I know how to deploy it, but can’t find any reference to it
AI Update

The GraphQL endpoint URL is the playground - when you visit it in your browser, it automatically displays the GraphQL playground interface!

The URL format is:

https://<project-id>.api.sanity.io/v<api-version>/graphql/<dataset>/<tag>

For most projects, this looks like:

https://<project-id>.api.sanity.io/v2024-01-01/graphql/<dataset>/default

Where:

  • <project-id> is your Sanity project ID
  • <dataset> is your dataset name (usually production)
  • <tag> is typically default (unless you've deployed tagged endpoints)

So the same URL serves double duty - visit it in your browser to get the interactive playground, or use it as the endpoint when querying from code. You can find more details in the GraphQL playground section of the docs.

Show original thread
12 replies

Sanity – Build the way you think, not the way your CMS thinks

Sanity is the developer-first content operating system that gives you complete control. Schema-as-code, GROQ queries, and real-time APIs mean no more workarounds or waiting for deployments. Free to start, scale as you grow.

Was this answer helpful?