👋 Next.js Conf 2024: Come build, party, run, and connect with us! See all events

Welcome to Sanity Studio's API Reference

API reference documentation for the Sanity package provides a comprehensive guide to the various functions, classes, and modules available in the package. It describes the inputs and outputs of each function, as well as any side effects or exceptions that may occur. This documentation is intended to help developers understand how to use the package and its various features, and to provide guidance on best practices and common use cases.

Release badges

On all pages in the API reference, you will see a badge in the top left. This badge indicates the release status of the API reference page you are on.
@public
The API is public and stable.
@beta
The API is in a testing phase and is considered immature. Breaking changes are expected. We don't recommend using it in a production environment.
@alpha
/
@experimental
The API is in very early stages of development. Breaking changes are not only expected but very likely. We strongly recommend against using it in a production environment.
sanity@3.59.1