Start free

Sanity connector · Content inventory & document edits

Read & reportRead & write

See every Sanity document. Fix titles and slugs in place.

Find Sanity documents that need attention and see which assets take up space.

  • Count published and draft documents by type
  • Find documents missing a slug or title
  • Start a draft from ChatGPT or Claude
SanitySheetsData StudioChatGPTClaude

Start free See what you can change

Updated November 2026

Sanity reportSample data
Document typeTitleUpdated at
postWinter layering guideNov 19
pagePricingNov 14
productMerino base layerOct 30
Refreshes on your schedule in Google Sheets

Audit Sanity content and media

Your Sanity project is the data source. Pick your project and dataset when you add Sanity.

Documents

Check titles, slugs and publish-ready drafts.

Document types

Count published, draft and changed documents by type or language.

Assets

Find large images and files by size or format.

Datasets

See each dataset’s name and access mode.

Report datasets and details

Reports you can build

4 reporting datasets, each with its own fields. Pick one in the app, then choose your columns.

  • Documents
  • Datasets
  • Sanity assets
  • Sanity document types
What each dataset reports
  • Documents

    Sanity content documents with type, title, slug, status, language, created and updated dates, document counts by status, and days since the last update.

  • Datasets

    Sanity project datasets with dataset name, ACL mode, and creation date.

  • Sanity assets

    Image and file assets stored in the Sanity dataset with MIME type, file size, URL, and creation date.

  • Sanity document types

    Document count grouped by schema type in the selected Sanity dataset.

Go from a content audit to a fixed document

Fix titles, slugs and descriptions

Change one document’s title, slug or description after checking its current values. Its body and references stay as they are.

Start a draft

Create a draft with a document type, title and slug for editors to finish and publish in Sanity Studio.

You choose who can change what

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.

See every supported change
  • Update a document title, slug or description
    What this changes

    Updates the title, slug or description of one existing Sanity document in the selected dataset. Body blocks, references and publishing state stay unchanged.

  • Create a draft document
    What this changes

    Creates a new draft document (prefixed with drafts.) in your Sanity dataset so editors can review and publish it in Sanity Studio.

Recorded changeExample

SanityUpdate a document title, slug or descriptionDocument · post-winter-guide · made by Content Lead

FieldBeforeAfter
TitleWinter layering guide (draft)Complete winter layering guide

Applied to SanityRecorded in Changes history

Metrics and dimensions

27 report fields across 4 datasets.

Search the available fields. Hover or tap a field to see what it means.

Send Sanity data anywhere

Google SheetsGoogle SheetsA sheet that refreshes every morning.
Data StudioData StudioCharts that read the same numbers.
BigQueryBigQueryA warehouse table for the same columns.
ClickHouseClickHousePush rows into ClickHouse over HTTPS with an API key.
AWS S3AWS S3Write report files to your S3 bucket with IAM access keys.
Amazon RedshiftAmazon RedshiftLoad rows into Redshift via the Data API with IAM keys.
FireboltFireboltPush rows into Firebolt over HTTPS with a Service Account.
PostgreSQLPostgreSQLWrite report rows into PostgreSQL with database credentials.
MySQLMySQLWrite report rows into MySQL with database credentials.
SnowflakeSnowflakePush rows into Snowflake over HTTPS with a PAT token.
Databricks SQLDatabricks SQLLoad rows into Databricks SQL with a Personal Access Token.
Cloudflare R2Cloudflare R2Write report files to your R2 bucket with access keys.
Excel / CSVExcel / CSVA Drive file you can open in Excel.
ClaudeClaudeAdd Datapipe's MCP connector, then ask Claude in a sentence.
ChatGPTChatGPTAdd Datapipe's MCP connector, then ask ChatGPT in a sentence.
APIAPIRead the same rows from your own tool.
Don't see yours? Use CSV or APIDownload the rows, or read them from your own tool.

Connect Sanity to ChatGPT or Claude for content audits and draft creation

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.

Set up the Sanity MCP connector

Add Datapipe once to use Sanity alongside the other data sources in your project.

  1. Add SanityAdd it as a data source in Datapipe.
  2. Add the MCP connectorPaste https://trydatapipe.com/mcp in ChatGPT or Claude under Plugins, or in Grok under Connectors.
  3. Sign inSign in to Datapipe and choose the project your assistant can use.

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.

What the Sanity MCP connector can use

Reports it can read

  • Documents
  • Datasets
  • Sanity assets
  • Sanity document types

Changes it can make once you allow them

  • Update a document title, slug or description
  • Create a draft document

Agents can read this page as markdown.

Start with Sanity

What you need

A Sanity token from your project’s API settings in Sanity Manage. Viewer covers reports; title, slug and draft changes need the Editor role.

What to know

Up to 20,000 documents per report. Changes cover a document’s title, slug and description, and new drafts.

How it works

  1. Add your data source

    Data sources
    Sanity
    Add data source
  2. Set up access

    Sanity
    Sanity API tokenProjectDatasetSave and check
  3. Run a report

    Data reports
    Document typeTitle
    postWinter layering guide
    pagePricing
    Sample data
Setup details
  1. In Sanity Manage, open your project’s API tab and add a token with the Viewer or Editor role, then add Sanity under Data sources.
  2. Paste your Sanity token, then pick your project and dataset.
  3. Send documents by type to a sheet, or ask Claude which posts haven’t been touched since summer.

Works well with Sanity

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.

Questions

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.

See assistant setup

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.

See assistant setup

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)

Keep your Sanity content tidy.

Spot stale posts and missing slugs across every document type, then fix them without opening each one in Studio.

Start free See setup requirements