API Evangelist API Evangelist
API Learnings
Toolbox
API Evangelist LLC

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

OpenAPI

sanity-openapi.yml Raw ↑