The structured content platform for developers who love flexibility
Sanity is a developer-favourite headless CMS known for its real-time collaborative editing (Sanity Studio), GROQ query language, and extraordinarily flexible content model. Indexa integrates with Sanity's Mutations API to publish AI content to any document type in your dataset, respecting your schema perfectly.
Create a Sanity API token in sanity.io/manage with Editor permissions on the target dataset.
Paste the project ID, dataset name, and API token into Indexa; then map your Sanity blog document type's schema fields.
Indexa sends NDJSON mutations to Sanity's HTTP API to create and patch documents on schedule — content appears in Sanity Studio instantly.
Schema-accurate mutations — Indexa generates mutations that precisely match your Sanity document schema, including nested objects and arrays.
Portable Text support — Indexa natively outputs Sanity's Portable Text format for body content, rendering correctly in any Sanity-connected frontend.
Real-time in Studio — published documents appear in Sanity Studio immediately, visible to your team for review.
Dataset and environment flexibility — publish to development, staging, or production Sanity datasets from Indexa.
Yes. Indexa generates article body content as Sanity Portable Text — the block content format Sanity uses for rich text. This ensures correct rendering in any frontend consuming your Sanity content.
Yes. Each Indexa integration targets a specific Sanity project + dataset combination. Create multiple integrations in Indexa for different datasets (e.g., staging and production).
Indexa uses Sanity's Mutations API (POST to `/v2021-06-07/data/mutate/{dataset}`) for creating and updating documents. GROQ is used internally for discovery queries during setup.
Yes. Documents created by Indexa appear immediately in Sanity Studio. Your team can review, edit, and publish drafts from Studio as normal.
Connect Indexa to Sanity and let AI write, optimize, and publish your content automatically. No credit card required.
Start free trial