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
    • Dashboard
    • Studio
    • Canvas
    • Media Library
    • Build custom apps
    • 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
    Hot swap
    Cloud clone
    Backups
    IDs and Paths
    Drafts and versions
    Attribute limit
    Perspectives

  • Querying with GROQ

    Introduction
    Query cheat sheet
    Custom functions
    Query playground
    Syntax reference

  • Querying with GraphQL

    Introduction
    GROQ and GraphQL

  • Assets

    Introduction
    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 May 15, 2025

Technical limits

  • Article
  • Changelog

Lift previewDrafts perspective limit on drafts

v2021-03-25

The 1000 drafts upper limit while using the previewDrafts perspective is removed.

Sanity Asset CDN now supports animated images

v2024-08-08

Animated image assets (like .gif and .webp files) uploaded to Sanity will now be transformed and returned as animated rather than static images. To maintain the previous behavior of loading static images from the asset pipeline, please add frame=1 as a query argument to the image URL. This will only return the first frame of the animated image file.

The maximum limit is 256 megapixels ((width x height x frame count) / 1,000,000). If your animated file exceeds this limit, we'll return the first frame. In most cases, if your animated images are large, you might want to use proper video formats and/or consider plugins like Mux.

On this page

  • Datasets
  • Documents
  • Listeners
  • API Calls
  • API Rate Limits
  • API Rate Limits per IP
  • API Concurrent Rate Limits
  • HTTP Requests
  • API CDN HTTP Requests
  • Assets
  • Animated Images with Transforms
  • Users
Sanity logosanity.ioAll Systems Operational© Sanity 2025