Sanity logosanity.ioAll Systems Operational© Sanity 2026
Change Site Theme
Sanity logo

Documentation

    • Overview
    • Platform introduction
    • Next.js quickstart
    • Nuxt.js quickstart
    • Astro quickstart
    • React Router quickstart
    • Studio quickstart
    • Build with AI
    • Content Lake
    • Functions
    • APIs and SDKs
    • Agent Actions
    • Visual Editing
    • Blueprints
    • 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
APIs and SDKs
Overview

  • HTTP API Reference →
  • Schemas

    Introduction to schemas
    Naming things
    Attribute limit
    Studio schema reference
    Schema Deployment
    Aspects schema for Media Library

  • Command Line Interface

    Introduction
    Importing content
    Reference
    Managing backups

  • TypeScript

    Generating types

  • App SDK

    Go to App SDK docs
    Reference

  • Content Releases

    Programmatic control
    Cheat sheet

  • Asset API

    Presenting Images
    Image transformations
    Image Metadata
    International Image Interoperability Framework (IIIF) API reference
    Asset CDN
    Image URL helper
    Asset utilities

  • Sanity Connect for Shopify

    Introduction
    Custom sync handlers
    Reference

APIs and SDKsLast updated September 8, 2025

APIs and SDKs

Build and manage the Sanity Operating System programmatically through our APIs and SDKs. Here you find documentation for functionality that sits on top of and outside of Content Lake (our datastore) and Compute and AI layers.

App SDK

App SDK Quickstart

Get up and running quickly with the Sanity App SDK by following this step-by-step guide!

App SDK Reference

Reference documentation for App SDK.

App SDK Explorer

Example interfaces built with the App SDK

Popular libraries

@sanity/client

Sanity's official JS/TS client

next-sanity

A full-featured collection of Next.js Sanity integrations

Sanity Connect for Shopify

Sync your content between Sanity and Shopify

Schemas

Introduction to schemas

Learn how schemas define content structure in Sanity's ecosystem, from Studio to Media Library, and how to design effective content models that evolve with your business needs.

Studio schema reference

A schema describes the types of documents and fields editors may author in a Sanity Studio workspace.

Schema Deployment

Deploy your schema into your dataset to enable deep integration between your content model and Sanity apps.

Asset API

Presenting Images

Presenting images through the Sanity image pipeline

Image Metadata

This article takes a closer look at the types of metadata available for images, and the values they might return.

Asset CDN

Describes the CDN used for delivering assets

Command Line Interface

Introduction to the CLI

Build, deploy, init plugin boilerplate, run scripts, and wrangle datasets and webhooks, all from the command line

Importing Data

How to go about importing data in bulk, including file and image assets.

CLI Configuration

Wrangle datasets and webhooks, initialise plugin boilerplate code, build and deploy—all from the command line