Get a recording playlist
Returns an HLS VOD playlist (.m3u8) for a recorded session. Each segment URL is
presigned and fetched directly from storage. A session is recorded when its model turns
recording on (runtime.recording in its reactor.yaml); for any other session the answer
is 404.
start and end select a window in seconds. Without start, the playlist begins at the
start of the recording; without end, it runs to the last uploaded segment. One request
returns at most 10,000 segments, so a longer window is shortened rather than refused. A
segment that could not be recorded appears as an #EXT-X-GAP entry, so the timeline
stays intact.
While the session runs, a window the recording has not reached yet answers 202. The
recording advances with the model’s output, not with time. About 15 minutes after the
session closes, the same request answers 200 or 410, so polling always ends.
Callable by a developer, account_admin, or user of the account that ran the session
or of the account that owns the model; billing_admin is not allowed. A session token
reads only the sessions bound to it, open or closed. Bind a session before it ends, or
read with an API key.
Authorizations
A Reactor API key (rk_...), sent as Authorization: Bearer rk_.... Keep it on a server.
Query Parameters
The recorded session's ID.
Start of the window in seconds, at least 0. Defaults to the start of the recording.
x >= 0End of the window in seconds; greater than start when both are set. Defaults to the end of the uploaded recording.
x >= 0Response
The playlist.
The response is of type string.