Documents
Check titles, slugs and publish-ready drafts.
Sanity connector · Content inventory & document edits
Find Sanity documents that need attention and see which assets take up space.
Start free See what you can change
Updated November 2026
| Document type | Title | Updated at |
|---|---|---|
| post | Winter layering guide | Nov 19 |
| page | Pricing | Nov 14 |
| product | Merino base layer | Oct 30 |
Your Sanity project is the data source. Pick your project and dataset when you add Sanity.
Check titles, slugs and publish-ready drafts.
Count published, draft and changed documents by type or language.
Find large images and files by size or format.
See each dataset’s name and access mode.
4 reporting datasets, each with its own fields. Pick one in the app, then choose your columns.
Sanity content documents with type, title, slug, status, language, created and updated dates, document counts by status, and days since the last update.
Sanity project datasets with dataset name, ACL mode, and creation date.
Image and file assets stored in the Sanity dataset with MIME type, file size, URL, and creation date.
Document count grouped by schema type in the selected Sanity dataset.
Change one document’s title, slug or description after checking its current values. Its body and references stay as they are.
Create a draft with a document type, title and slug for editors to finish and publish in Sanity Studio.
Allow the changes your team needs for this data source. Teammates and AI assistants use that access; they cannot grant themselves more.
Allowed changes apply right away unless you require approval. Set approval for risky changes, every change or a specific person. Changes history records who made each update and its result.
Updates the title, slug or description of one existing Sanity document in the selected dataset. Body blocks, references and publishing state stay unchanged.
Creates a new draft document (prefixed with drafts.) in your Sanity dataset so editors can review and publish it in Sanity Studio.
| Field | Before | After |
|---|---|---|
| Title | Winter layering guide (draft) | Complete winter layering guide |
27 report fields across 4 datasets.
Search the available fields. Hover or tap a field to see what it means.
No fields match. Try another search or choose All.
Ask Claude which Sanity document types pile up unpublished changes, and which have gone longest without an edit.
Example
Which Sanity document types have the most unpublished changes?
Group documents by type, rank by documents with unpublished changes, and show average days since last update beside each.
Add Datapipe once to use Sanity alongside the other data sources in your project.
https://trydatapipe.com/mcp in ChatGPT or Claude under Plugins, or in Grok under Connectors.Read documents with type, title, slug, status, language and days since last update, plus datasets, media assets and document counts by schema type from Sanity. It can also make the Sanity changes you allow.
Agents can read this page as markdown.
A Sanity token from your project’s API settings in Sanity Manage. Viewer covers reports; title, slug and draft changes need the Editor role.
Up to 20,000 documents per report. Changes cover a document’s title, slug and description, and new drafts.
| Document type | Title |
|---|---|
| post | Winter layering guide |
| page | Pricing |
Add both to the same project. Each keeps its own report, so you can check them side by side or ask ChatGPT or Claude a question that needs both.
Datapipe reads documents, datasets, media assets and document counts by schema type.
Yes, when the change is allowed for you in Datapipe and the token has the Editor role. You can update a document’s title, slug or description, or create a draft. You can require approval before a change applies.
Yes. Each draft is its own row, and its ID starts with "drafts.". Documents counts each document once; Document copies counts every row, including drafts and release versions.
The one you pick when you add Sanity. Add Sanity again for each other project or dataset you want to report on.
Yes. Add the Datapipe MCP connector in ChatGPT as a custom MCP plugin, or add it as a custom connector in Claude or Grok. Read documents with type, title, slug, status, language and days since last update, plus datasets, media assets and document counts by schema type from Sanity. It can also make the Sanity changes you allow.
Datapipe puts Sanity in the same project as your other data sources, so one question can compare them over the same dates. You choose which Sanity changes your assistant can make and which ones wait for approval, and every change is recorded. When you want the answer every week, your assistant can draft a Report Studio report. Once you publish it, Datapipe refreshes and emails it on your schedule.
Add Sanity as a data source in Datapipe, create a report and choose Data Studio (formerly Looker Studio) as the destination. It is included on every plan, there is nothing extra to install, and the report refreshes on its own.
Free to start. Paid plans add more data sources and refresh faster.
Free and Starter refresh once a day. Pro refreshes every hour. Agency refreshes every 15 minutes on any 50 data sources you pick, Agency Plus on any 100, and hourly on the rest.
The workspace owner, workspace admins and project managers. Changes start off. They choose which changes are allowed for each data source and who can make them: project operators and managers, selected teammates, and the AI tools those people connect. They can change this at any time.
Yes, if you want. For each data source, approval can cover risky changes only (deleting, sending, publishing, refunds and price changes) or every change. You can also switch it on for one person, such as an intern. Those changes wait on the Changes page until the owner, an admin or a project manager approves them. Nobody but the owner approves their own change.
One for each Sanity account you add to a project. Adding the same account to another project counts again. Reports and destinations do not use extra data sources.
For AI assistants and agents: read this page as markdown, including every way to use Sanity data. Site index (llms.txt)
Spot stale posts and missing slugs across every document type, then fix them without opening each one in Studio.