Sanity Studio v4 is live! Learn more about the Node.js 20+ requirement, and upgrade today.

Sanity logo

Documentation

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

  • Understanding Content Lake

    Technical limits
    API Versioning
    API CDN

  • Datasets and documents

    Datasets
    Documents
    Drafts
    IDs and Paths
    Perspectives
    Attribute limit
    Hot swap
    Cloud clone
    Backups

  • Querying with GROQ

    Introduction
    How queries work
    Custom functions
    Query cheat sheet
    Vision plugin
    Syntax reference
    GROQ @ Sanity Learn

  • Querying with GraphQL

    Introduction
    GROQ and GraphQL

  • Assets

    Introduction
    Upload, query, and delete assets
    Metadata
    Transformations
    IIIF

  • Content Operations

    Transactions
    Importing Data
    Migrating your schema and content
    Content migration cheat sheet
    Schema migration principles

  • Real-time and dynamic content

    Perspectives for preview and presentation
    Live Content API
    Listening API
    GROQ-powered webhooks
    Webhook Best Practices

  • Security

    Access Your Data (CORS)
    Browser security & CORS
    Keeping your data safe
    Activity Feed

  • Reference

    GROQ Specification
    HTTP API
    Roles, grants, and permissions
    URL Format
    Authentication
    Patches
    Using JSONMatch

Content Lake (Datastore)Last updated July 7, 2025

Transactions

  • Article
  • Changelog

Improvements and bugfixes

v2023-03-07

Document deletion mutations can now fully purge the history of a document, specially important for privacy and compliance requirements.

See more information in the documentation page here.

On this page

  • Eventual Consistency
  • ACID Compliance
  • Concurrency Control
Sanity logosanity.ioAll Systems Operational© Sanity 2025
Change Site Theme