Sanity Query API
The Sanity Query API enables querying Content Lake documents using GROQ (Graph-Relational Object Queries). Supports GET for queries under 11 KB and POST for larger queries. Available at both the standard API endpoint and a CDN endpoint for edge-cached results. Supports perspectives (drafts, published), result source maps, and query explain functionality.
Documentation
Specifications
Schemas & Data
JSONSchema
json-schema/sanity-document-schema.json
JSONSchema
json-schema/sanity-webhook-schema.json
OpenAPI
#GROQ
#Query
#Content Lake
#CDN