Sanity
Sanity is a composable content platform providing a headless CMS with a real-time collaborative editor (Sanity Studio) and a powerful HTTP API for managing structured content. The Sanity Content Lake stores content as flexible documents queryable via GROQ (Graph-Relational Object Queries). Key API capabilities include document querying, mutations, real-time listening, asset management, project management, webhooks, scheduling, roles and permissions, vector embeddings, and AI-powered content agents.
Sanity publishes 10 APIs on the APIs.io network, including Assets API, Projects API, Webhooks API, and 7 more. Tagged areas include Headless CMS, Content Management, GROQ, Real-Time, and Structured Content.
The Sanity catalog on APIs.io includes 1 event-driven AsyncAPI specification, 1 JSON-LD context, and 3 Spectral governance rulesets.
Sanity’s developer surface includes authentication, documentation, getting-started guide, pricing, engineering blog, and 33 more developer resources.
Kin Score
APIs 14
Individual APIs this provider publishes, each with its own machine-readable definition.
Sanity Mutation API
The Sanity Mutation API enables creating, updating, patching, and deleting documents in Content Lake. Mutations are submitted as arrays of operations (create, createOrReplace, c...
Sanity Assets API
The Sanity Assets API handles uploading, retrieving, and managing file and image assets in Content Lake. Assets are stored as documents and referenced from content documents.
Sanity Projects API
The Sanity Projects API enables programmatic management of Sanity projects including creating projects, managing datasets, configuring CORS origins, managing access tokens, and ...
Sanity Webhooks API
The Sanity Webhooks API enables configuring event-driven notifications for content changes. Webhooks can be created to trigger on document create, update, delete, and publish ev...
Sanity Listen API
The Sanity Listen API provides real-time event streaming via Server-Sent Events (SSE) for content changes in a dataset. Clients can subscribe to a GROQ query and receive real-ti...
Sanity Roles API
The Sanity Roles API provides endpoints for managing user roles and permissions within Sanity projects. Supports predefined roles (Administrator, Read+Write, Read, Viewer) and c...
Sanity Scheduling API
The Sanity Scheduling API enables scheduling content for future publication or unpublication at specific times, supporting editorial workflows and content calendars.
Sanity Embeddings Index API
The Sanity Embeddings Index API enables creating and managing vector embedding indexes for Content Lake documents, supporting semantic search and AI-powered content retrieval wo...
Sanity Assets API
File and image asset management
Sanity Listen API
Real-time event streaming
Sanity Mutations API
Create, update, and delete document operations
Sanity Projects API
Project and dataset management
Sanity Query API
GROQ query operations against Content Lake
Sanity Webhooks API
Event notification configuration
Scroll for all 14
Postman Collections 6
Ready-to-run Postman collections for exercising this provider's APIs.
Sanity HTTP Assets API
POSTMANSanity HTTP Assets Query API
POSTMANOpen Collections 1
Open, tool-agnostic API collections (OpenAPI-derived and Bruno).
Sanity HTTP API
OPEN COLLECTIONArazzo Workflows 14
Multi-step API workflows described with the Arazzo specification.
Sanity Bootstrap Project
Create a project, add an initial dataset, then list the project datasets.
ARAZZOSanity Bulk Delete by Query
Count documents matching a GROQ filter, then delete them in one mutation.
ARAZZOSanity Compare Draft and Published
Read a document's draft and published perspectives to inspect its history.
ARAZZOSanity Create and Verify Document
Create a document with a mutation, then confirm it exists with a GROQ query.
ARAZZOSanity Discover Project Datasets
List accessible projects, then enumerate the datasets of a chosen project.
ARAZZOSanity Issue Token for Project
Confirm a project exists, mint an API token on it, then list its tokens.
ARAZZOSanity Provision Dataset
Create a dataset in a project, then list datasets to confirm it exists.
ARAZZOSanity Publish Draft Document
Read a draft, promote it to a published document, then verify the result.
ARAZZOSanity Query Then Patch Document
Find a document with GROQ, then patch it when a match is found.
ARAZZOSanity Register Webhook for Query
Validate a GROQ filter, register a webhook on it, then list webhooks.
ARAZZOSanity Replace Document Asset
Upload a new image, find the target document, then point it at the new asset.
ARAZZOSanity Upload Asset and Reference
Upload an image asset, then create a document that references it.
ARAZZOScroll for all 14
MCP Servers 1
Model Context Protocol servers that expose these APIs to AI agents.
MCP Server
MCP SERVERGraphQL 1
GraphQL schemas published by this provider.
Sanity GraphQL API
Sanity provides a project-scoped GraphQL API that exposes Content Lake documents as a typed, queryable schema. The API is deployed per-project and per-dataset: you generate and ...
GRAPHQLPricing Plans 1
Published pricing tiers and plan structures.
Sanity Plans Pricing
PLANSRate Limits 1
Documented rate limits and quota policies.
Sanity Rate Limits
RATE LIMITSFinOps 1
Cost, billing, and metering signals for API financial operations.
Sanity Finops
FINOPSEvent Specifications 1
AsyncAPI definitions for this provider's event-driven and streaming APIs.
Sanity GROQ-Powered Webhooks
AsyncAPI specification for Sanity's GROQ-powered webhook surface. Sanity delivers event-driven HTTP callbacks when documents in a Content Lake dataset are created, updated, or d...
ASYNCAPISemantic Vocabularies 1
JSON-LD contexts and semantic vocabularies used across these APIs.
Sanity Context
JSON-LDSpectral Rules 3
Spectral governance rulesets for linting and validating these APIs.
JSON Schema 11
Standalone JSON Schema definitions for this provider's data models.
AssetDocument
JSON SCHEMADataset
JSON SCHEMASanity Document
JSON SCHEMAMutationResponse
JSON SCHEMAMutationsRequest
JSON SCHEMAProject
JSON SCHEMAQueryResponse
JSON SCHEMAToken
JSON SCHEMATokenWithKey
JSON SCHEMASanity Webhook
JSON SCHEMAWebhookInput
JSON SCHEMAScroll for all 11
JSON Structure 2
JSON Structure definitions describing this provider's data shapes.
Sanity Document Structure
JSON STRUCTURESanity Structure
JSON STRUCTUREExamples 2
Example request and response payloads for these APIs.
Security Posture 4
Authentication, domain security, vulnerability disclosure, and trust-center signals.
Agentic Access 1
Recommended x-agentic-access execution contracts for AI agents.
Resources
Get Started 2
Portal, sign-up, and the first successful call
Documentation 2
Reference material describing how the API behaves
Agent Surfaces 3
MCP servers, agent skills, and machine-readable catalogs
Design & Contract 17
Pagination, idempotency, versioning, errors, and events
Scroll for all 17
Build 3
SDKs, sample code, and the tooling you integrate with
Access & Security 4
Authentication, authorization, and security posture
Operate 2
Status, limits, changes, and where to get help
Commercial 1
Pricing, plans, and the legal terms of use
Company 3
The organization behind the API
Other 1
Properties that don't map to a standard resource type