Echo Labs Docs
Search the docs
Find a guide, an endpoint or a section

Get captions

Download the latest caption revision

GET https://api.el.ai/v1/jobs/{id}/captions

Authorization

  • Authorization header · string Required

    Bearer el_live_…, a workspace API key. About keys

Path parameters

  • id string · uuid Required

Query parameters

  • format string

    srt: timed SubRip captions; vtt: WebVTT for web players; txt: transcript grouped by speaker; docx: Word transcript; json: structured cues for rendering or search.

    One of
    srt
    vtt
    txt
    docx
    json
    Default
    srt
  • timestamps boolean

    Include timestamps in txt/docx transcripts.

    Default
    false

Response · 200

application/x-subrip · text/vtt · text/plain · application/vnd.openxmlformats-officedocument.wordprocessingml.document · application/json

Latest revision. Word transcripts support English, Spanish and French. Download links require bearer authentication..

  • job_id string · uuid
  • language string · nullable
  • revision integer
  • captions array of object
    • start number
    • end number
    • speaker string · nullable
    • text string

Headers

  • request-id string

    Support request identifier.

  • cache-control string
    One of
    no-store
  • ETag string

    Quoted caption revision ID.

  • Content-Disposition string

    Attachment filename, omitted for JSON.

Errors

Errors share one shape: an error object with a stable code and a human-readable message. See Errors and retries.

400Invalid request
401Missing, invalid or revoked API key
402Insufficient funds or budget
403Key or workspace does not allow this operation
404Resource not found in this workspace
409Conflict
413JSON body exceeds 64 KiB
415Unsupported content type
422Media or format cannot be processed. A job cancelled for a duration mismatch returns unsupported_media.
429Shared read limit per API key or write limit per workspace exceeded
500Internal error
503temporarily_unavailable: request limit enforcement is unavailable, or job submission is busy. Retry after 5 seconds.