Skip to content

Studio API reference

All Studio features are available via the REST API. Use the API to integrate Studio with external tools, automate content workflows, or build custom interfaces.

All endpoints are relative to the following base URL:

https://dashboard.quantcdn.io/api/v2/organizations/{org}/projects/{project}/studio

Replace {org} with your organisation slug and {project} with your project slug.

Authenticate every request by passing a Bearer token in the Authorization header:

Authorization: Bearer YOUR_API_TOKEN

The token must have the appropriate Studio permissions for the endpoint you are calling. Permission names follow the pattern browse_studio, edit_studio, delete_studio, and manage_studio.

MethodEndpointPermissionDescription
GET/schemabrowse_studioList all schemas
GET/schema/{collection}browse_studioGet collection schema
POST/schema/refreshmanage_studioRefresh cached schemas
MethodEndpointPermissionDescription
GET/collectionsbrowse_studioList collections
GET/collections/{collection}browse_studioList entries
POST/collections/{collection}edit_studioCreate entry
GET/collections/{collection}/{slug}browse_studioGet entry
PUT/collections/{collection}/{slug}edit_studioUpdate entry
DELETE/collections/{collection}/{slug}delete_studioDelete entry
MethodEndpointPermissionDescription
GET/mediabrowse_studioList files
POST/mediaedit_studioUpload file
DELETE/media/{path}delete_studioDelete file
MethodEndpointPermissionDescription
GET/branchesbrowse_studioList branches
POST/branchesedit_studioCreate branch
POST/mergeedit_studioMerge branches
GET/commitsbrowse_studioCommit history
GET/comparebrowse_studioCompare branches
MethodEndpointPermissionDescription
GET/pullsbrowse_studioList PRs
POST/pullsedit_studioCreate PR
GET/pulls/{number}browse_studioPR details
POST/pulls/{number}/mergeedit_studioMerge PR
MethodEndpointPermissionDescription
GET/environmentsbrowse_studioList environments
POST/environmentsmanage_studioCreate environment
DELETE/environments/{id}manage_studioDelete environment
MethodEndpointPermissionDescription
GET/deployments/latestbrowse_studioLatest status
GET/deployments/{runId}browse_studioDetails with jobs
MethodEndpointPermissionDescription
GET/filetreebrowse_studioFull project tree
GET/filebrowse_studioSingle file
MethodEndpointPermissionDescription
POST/route-patterns/detectedit_studioAuto-detect Astro routes

Retrieve all collections and their schemas:

Terminal window
curl -H "Authorization: Bearer YOUR_API_TOKEN" \
https://dashboard.quantcdn.io/api/v2/organizations/{org}/projects/{project}/studio/collections

Create a new entry in the blog collection:

Terminal window
curl -X POST \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"slug": "hello-world", "frontmatter": {"title": "Hello World", "draft": false}, "body": "Welcome to my first post."}' \
https://dashboard.quantcdn.io/api/v2/organizations/{org}/projects/{project}/studio/collections/blog

List branches in the project:

Terminal window
curl -H "Authorization: Bearer YOUR_API_TOKEN" \
https://dashboard.quantcdn.io/api/v2/organizations/{org}/projects/{project}/studio/branches
  • Visual editor — Edit content inline with a live preview and click-to-edit annotations
  • Content management — Browse, create, and organise entries across your content collections
  • AI assistant — Use 24 specialised AI tools to generate content, manage files, and automate workflows