API reference

API reference · Account

The document's assets mapped onto stored media

GET/api/studio/projects/{id}/mediaSigned in session

Each asset of the document matched to a stored file by doc_asset_id, by its own sa_ id, or by the job that made it, with our door to fetch the bytes. The signed in account.

Parameters

Path and query parameters
FieldTypeWhat it is
id (path)requiredstringThe project's id, stp_ followed by hex.

Answer 200

The mapping.

Fields of the 200 answer
FieldTypeWhat it is
objectstringOne of "studio.project.media".
dataarray of object
data[].assetstringThe editor's Asset.id.
data[].storedobject or null
data[].content_urlstring or nullOur own content door for the bytes; never a link to the store.

Errors

  • 401OpenAI shaped error.
  • 404OpenAI shaped error.
  • 429OpenAI shaped error.

Every error answers in one shape, with its type, code and the field it names. The whole list is in the docs' Errors section.

Antimatter