Cinema Studio

Get a project's brief

A project's brief: a rich-text document, and the revision it is at. Takes a key holding studio:read (or studio:write, which reads too) — Account offers both unticked — or the desktop's own session key. Spends nothing.

GET
/v1/studio/projects/{project}/brief
GET
/v1/studio/projects/{project}/brief
Get a project's brief
A project's brief: a rich-text document, and the revision it is at.
Authorizationstringrequired
Your API key. It is sent only when you press Send, to this request alone, and never stored.
projectstringrequired
Get a project's brief
curl --request GET \
  --url 'https://api.auray.ai/v1/studio/projects/{project}/brief' \
  --header 'Authorization: Bearer <api-key>'
{
  "object": "<string>",
  "project_id": "<string>",
  "doc": {
    "type": "<string>",
    "content": "<any[]>"
  },
  "rev": 123,
  "updated_at": "<string>",
  "request_id": "<string>"
}
Get a project's brief
curl https://api.auray.ai/v1/studio/projects/3f0c8a52-6a1d-4e8b-9c2d-7e5f4a3b2c1d/brief \
  -H "Authorization: Bearer $AURAY_API_KEY"
{
  "object": "<string>",
  "project_id": "<string>",
  "doc": {
    "type": "<string>",
    "content": "<any[]>"
  },
  "rev": 123,
  "updated_at": "<string>",
  "request_id": "<string>"
}

Authorizations

Authorizationstringheaderrequired

Bearer auray_sk_… — studio:read, or studio:write, which reads too — Account offers both unticked; the desktop's session key holds both.

Path Parameters

projectstringrequired

Response

application/json

OK.

objectstringrequired
One of "brief".
project_idstringrequired
docobjectrequired
A rich-text document as an editor writes it (a ProseMirror document), at most 256 KB of JSON.
Show child attributes
typestringrequired
One of "doc".
contentany[]
revintegerrequired
0 for a brief nobody has written. A save names the rev it was written from. 0 to ….
updated_atstringrequired
May be null.
request_idstring
Mirrored in the X-Request-Id header.

Headers:

HeaderDescription
RateLimit-LimitBurst capacity.
RateLimit-Remaining
RateLimit-ResetSeconds until refill.
X-RateLimit-Limit
X-RateLimit-Remaining
X-RateLimit-ResetUnix seconds. The X- spelling is what client libraries read.
X-Request-Id

Was this page helpful?

Get a project's brief
curl https://api.auray.ai/v1/studio/projects/3f0c8a52-6a1d-4e8b-9c2d-7e5f4a3b2c1d/brief \
  -H "Authorization: Bearer $AURAY_API_KEY"
{
  "object": "<string>",
  "project_id": "<string>",
  "doc": {
    "type": "<string>",
    "content": "<any[]>"
  },
  "rev": 123,
  "updated_at": "<string>",
  "request_id": "<string>"
}

Use the up and down arrow keys to select a result, Enter to open it, and Escape to close search.