{
  "info": {
    "_postman_id": "ef7eb5fe-0c84-48a9-a2f5-510e64fe91b9",
    "name": "Sanity HTTP Assets Mutations API",
    "description": "The Sanity HTTP API provides access to the Sanity Content Lake platform, enabling querying, mutating, and managing structured content. The API supports GROQ queries, real-time event streaming, asset management, project management, webhooks, scheduling, and AI-powered content agents. Authentication uses Bearer tokens generated from Sanity project settings.\n\nContact Support:\n Name: Sanity Support",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-07-28T02:50:51.000Z",
    "updatedAt": "2026-07-28T02:50:52.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-ef7eb5fe-0c84-48a9-a2f5-510e64fe91b9"
  },
  "item": [
    {
      "name": "data",
      "item": [
        {
          "name": "mutate",
          "item": [
            {
              "name": "{dataset}",
              "item": [
                {
                  "name": "Mutate Documents",
                  "id": "106b003b-87b8-49e5-b135-8a024b0514d6",
                  "protocolProfileBehavior": {
                    "disableBodyPruning": true
                  },
                  "request": {
                    "method": "POST",
                    "header": [
                      {
                        "key": "Content-Type",
                        "value": "application/json"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\n  \"mutations\": []\n}",
                      "options": {
                        "raw": {
                          "headerFamily": "json",
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "{{baseUrl}}/data/mutate/:dataset?returnIds=<boolean>&returnDocuments=<boolean>&visibility=sync",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "data",
                        "mutate",
                        ":dataset"
                      ],
                      "query": [
                        {
                          "description": "Return document IDs of created/modified documents",
                          "key": "returnIds",
                          "value": "<boolean>"
                        },
                        {
                          "description": "Return full documents after mutations",
                          "key": "returnDocuments",
                          "value": "<boolean>"
                        },
                        {
                          "description": "Mutation visibility mode",
                          "key": "visibility",
                          "value": "sync"
                        }
                      ],
                      "variable": [
                        {
                          "id": "5cccacd6-aaf2-484a-9cfe-2cb415f125f1",
                          "key": "dataset",
                          "value": "<string>",
                          "description": "(Required) Dataset name"
                        }
                      ]
                    },
                    "description": "Apply a batch of mutations (create, createOrReplace, createIfNotExists, patch, delete) to documents in the dataset."
                  },
                  "response": [
                    {
                      "id": "5f46a583-2a85-4a4c-a722-830df9685f2e",
                      "name": "Mutation results",
                      "originalRequest": {
                        "method": "POST",
                        "header": [
                          {
                            "key": "Content-Type",
                            "value": "application/json"
                          },
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: bearer",
                            "key": "Authorization",
                            "value": "Bearer <token>"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\n  \"mutations\": []\n}",
                          "options": {
                            "raw": {
                              "headerFamily": "json",
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "{{baseUrl}}/data/mutate/:dataset?returnIds=<boolean>&returnDocuments=<boolean>&visibility=sync",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "data",
                            "mutate",
                            ":dataset"
                          ],
                          "query": [
                            {
                              "description": "Return document IDs of created/modified documents",
                              "key": "returnIds",
                              "value": "<boolean>"
                            },
                            {
                              "description": "Return full documents after mutations",
                              "key": "returnDocuments",
                              "value": "<boolean>"
                            },
                            {
                              "description": "Mutation visibility mode",
                              "key": "visibility",
                              "value": "sync"
                            }
                          ],
                          "variable": [
                            {
                              "key": "dataset"
                            }
                          ]
                        }
                      },
                      "status": "OK",
                      "code": 200,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"transactionId\": \"<string>\",\n  \"results\": [\n    {\n      \"id\": \"<string>\",\n      \"operation\": \"<string>\"\n    },\n    {\n      \"id\": \"<string>\",\n      \"operation\": \"<string>\"\n    }\n  ]\n}",
                      "createdAt": "2026-07-28T02:50:52.000Z",
                      "updatedAt": "2026-07-28T02:50:52.000Z",
                      "uid": "35240-5f46a583-2a85-4a4c-a722-830df9685f2e"
                    }
                  ],
                  "createdAt": "2026-07-28T02:50:52.000Z",
                  "updatedAt": "2026-07-28T02:50:52.000Z",
                  "uid": "35240-106b003b-87b8-49e5-b135-8a024b0514d6"
                }
              ],
              "id": "6dfba5bc-b03b-484b-a619-a53a7e578ce6",
              "createdAt": "2026-07-28T02:50:52.000Z",
              "updatedAt": "2026-07-28T02:50:52.000Z",
              "uid": "35240-6dfba5bc-b03b-484b-a619-a53a7e578ce6"
            }
          ],
          "id": "35b11e44-08e9-4a57-bcae-864c8d0240fa",
          "createdAt": "2026-07-28T02:50:52.000Z",
          "updatedAt": "2026-07-28T02:50:52.000Z",
          "uid": "35240-35b11e44-08e9-4a57-bcae-864c8d0240fa"
        }
      ],
      "id": "451d7755-cedc-423e-9143-2dfcc92647fa",
      "createdAt": "2026-07-28T02:50:52.000Z",
      "updatedAt": "2026-07-28T02:50:52.000Z",
      "uid": "35240-451d7755-cedc-423e-9143-2dfcc92647fa"
    }
  ],
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{bearerToken}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "projectId",
      "value": "your-project-id"
    },
    {
      "key": "apiVersion",
      "value": "2024-01-01"
    },
    {
      "key": "baseUrl",
      "value": "https://{{projectId}}.api.sanity.io/v{{apiVersion}}"
    }
  ]
}