API reference

API reference · Account

A finished job's file

GET/api/studio/jobs/{id}/contentSigned in session

Served from the studio's own store once the output was copied there (where stored media is on), else streamed from the provider while it keeps it; 410 output_expired after expires_at when nothing was stored. A Range header is answered 206. While video and sound jobs are switched off this door answers the unknown endpoint 404 (code unknown_endpoint).

Parameters

Path and query parameters
FieldTypeWhat it is
id (path)requiredstringThe job's id, video_, sound_ or still_ followed by hex.

Answer 200

The file.

Answer 206

Part of the file.

Errors

  • 401OpenAI shaped error.
  • 404OpenAI shaped error.
  • 409OpenAI shaped error.
  • 410OpenAI 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