HTTP API Reference

Assets API

Upload images and files to Content Lake, and link Media Library assets to your dataset.

The assets endpoint is used to upload and interact with assets in Content Lake.

Base API server URL

Assets API base URL

https://{projectId}.api.sanity.io/{apiVersion}/assets

Variables

  • apiVersionstringdefault: "v2024-06-24"

    API version

  • projectIdstringdefault: "your-project-id"

    Sanity project ID