Unlock seamless workflows and faster delivery with our latest releases – get the details
Back to changelog

Actions API

The Actions API provides a new interface for creating, updating and publishing documents. It is designed to more closely follow the typical workflows that we see in Studio and when authoring content more generally. The actions provided by the API are higher-level than those in the existing Mutations API.

No action is required, but you may encounter the API in two cases:

  1. A future release of Sanity Studio will use the Actions API. This change will be transparent to users but will enable new features in the future.
  2. The Actions API may be a better fit than the existing Mutations API for automated workflows that edit and publish documents. This is completely optional and the Mutations API will continue to be supported.

Documentation affected by this release

Published June 06, 2024