Sanity logo

Documentation

    • Overview
    • Platform introduction
    • Next.js quickstart
    • Nuxt.js quickstart
    • Astro quickstart
    • React Router quickstart
    • Studio quickstart
    • Content Lake
    • Compute and AI
    • APIs and SDKs
    • Platform management
    • Dashboard
    • Studio
    • Canvas
    • Media Library
    • App SDK
    • Content Agent
    • HTTP API
    • CLI
    • Libraries
    • Specifications
    • Changelog
    • User guides
    • Developer guides
    • Courses and certifications
    • Join the community
    • Templates
HTTP API Reference
Overview

  • Content Lake API

    Actions
    Copy
    Backups
    Doc
    Export
    History
    Jobs
    Mutation
    Query
    Scheduling
    Webhooks

  • Compute and AI

    Agent Actions
    Embeddings Index

  • SDK

    Assets
    Listen
    Live

  • Apps

    Media Library

  • Management API

    Access
    Projects
    Roles

HTTP API ReferenceLast updated September 8, 2025

HTTP API Reference

The HTTP API endpoints offer direct access to the same APIs used by the Sanity Client, Studio, and other apps to interact with Content Lake and the greater Sanity ecosystem.

Get started

Authentication

How to submit authenticated requests.

URL Format

tl;dr: <projectId>.api.sanity.io/<version>/<path>

Patches

The valid patch types when using the direct HTTP mutations api.

Popular endpoints

Query

Reference documentation for the Query HTTP endpoint.

Mutation

Reference documentation for the Mutatation HTTP reference.

Actions

Reference documentation for the Actions HTTP endpoint.

New endpoints

Access API

A centralized API to manage resource access control through roles and permissions.

Media Library API

HTTP endpoints reference for the Media Library API

Agent Actions

Reference documentation for the Agent Actions HTTP API.

Live

Reference documentation for the Live HTTP endpoint.

Sanity logosanity.io
© Sanity 2025
Change Site Theme
All Systems Operational