HTTP API Reference

Agent Actions

Use AI and LLMs to interact with and modify your content.

Base API server URL

Parameterized base URL

https://{projectId}.api.sanity.io/{apiVersion}/agent/action

Variables

  • projectIdstringdefault: "your-project-id"

    Sanity project ID

  • apiVersionstringdefault: "vX"

    API version