Skip to main content
GET
/
v1
/
renders
/
{render_id}
Read a render
curl --request GET \
  --url https://roughy-api-staging.fly.dev/v1/renders/{render_id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "asset_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "cut_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "output": {
    "frame_rate": 120
  },
  "size_bytes": 123,
  "error_code": "<string>",
  "error_message": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "started_at": "2023-11-07T05:31:56Z",
  "completed_at": "2023-11-07T05:31:56Z",
  "download_url": "<string>"
}

Authorizations

Authorization
string
header
required

Pass your API key as Authorization: Bearer sk_…. Mint a key from your dashboard's API-keys page.

Path Parameters

render_id
string<uuid>
required

Identifier of the render.

Response

The render plus a short-lived signed download_url.

A render with a short-lived signed download URL.

id
string<uuid>
required

Render id.

asset_id
string<uuid>
required

The source asset this render was produced from.

cut_id
string<uuid> | null
required

The cut applied to this render, or null for a full-source render.

state
enum<string>
required

Render lifecycle state: pending / processing while the render encodes, completed when ready, failed on error. completed and failed are terminal.

Available options:
pending,
processing,
completed,
failed
output
RenderOutput · object
required

The output spec this render was produced with.

size_bytes
integer | null
required

Output size in bytes.

error_code
string | null
required

Machine-readable failure code when state=failed.

error_message
string | null
required

Human-readable failure detail when state=failed.

created_at
string<date-time>
required

When the render was created.

started_at
string<date-time> | null
required

When encoding started.

completed_at
string<date-time> | null
required

When the render reached a terminal state.

download_url
string | null

Short-lived signed URL for the rendered bytes; null until the render is completed. Re-fetch the render rather than caching the URL.