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, createIfNotExists, patch, delete) against a dataset endpoint.

Documentation

Other Resources

🔗
APIsJSON
https://raw.githubusercontent.com/api-evangelist/sanity/refs/heads/main/apis.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/sanity/refs/heads/main/arazzo/sanity-bootstrap-project-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/sanity/refs/heads/main/arazzo/sanity-bulk-delete-by-query-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/sanity/refs/heads/main/arazzo/sanity-compare-draft-and-published-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/sanity/refs/heads/main/arazzo/sanity-create-and-verify-document-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/sanity/refs/heads/main/arazzo/sanity-discover-project-datasets-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/sanity/refs/heads/main/arazzo/sanity-issue-token-for-project-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/sanity/refs/heads/main/arazzo/sanity-provision-dataset-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/sanity/refs/heads/main/arazzo/sanity-publish-draft-document-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/sanity/refs/heads/main/arazzo/sanity-query-then-patch-document-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/sanity/refs/heads/main/arazzo/sanity-register-webhook-for-query-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/sanity/refs/heads/main/arazzo/sanity-rename-project-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/sanity/refs/heads/main/arazzo/sanity-replace-document-asset-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/sanity/refs/heads/main/arazzo/sanity-upload-asset-and-reference-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/sanity/refs/heads/main/arazzo/sanity-upsert-document-workflow.yml

API entry from apis.yml

apis.yml Raw ↑
aid: sanity:sanity-mutation-api
name: Sanity Mutation API
description: The Sanity Mutation API enables creating, updating, patching, and deleting documents in Content
  Lake. Mutations are submitted as arrays of operations (create, createOrReplace, createIfNotExists, patch,
  delete) against a dataset endpoint.
humanURL: https://www.sanity.io/docs/http-reference
tags:
- Mutation
- Documents
- CRUD
- Content Lake
properties:
- type: Documentation
  url: https://www.sanity.io/docs/http-reference