Get run
Authentication
Path parameters
The run’s ID: the session_id of a realtime session or the run_id of a file response.
Response
The run’s ID: the session_id of a realtime session, or the run_id of a file response.
Where a run is in its life: live while it is in progress, ended once it completed, and errored if it ended because of a failure or because the connection was lost. A live run the server has not heard from in five minutes is also reported errored, and reads live again if the server hears from it.
When the run ended. Null while it is in progress. For a run reported errored because the server stopped hearing from it, the last time the server heard from it.
The WebSocket close code the session ended with, or 1011 if the connection was lost without a close frame. Only realtime runs that have ended have one, and not all of those: it is absent when the client’s close frame carried no code, or when the server stopped before recording how the session closed.
Why the session closed: client_request, server_shutdown, idle_timeout or error when the server closed it, error when the connection was lost without a close frame, and otherwise the reason text from the client’s close frame. Only realtime runs that have ended have one, and not all of those: it is absent when the client’s close frame carried no code, or when the server stopped before recording how the session closed.
Bytes of media the server took in. A realtime video frame counts once it passes the send-rate check, even if it is then rejected as invalid. Null until the run ends, and for a run whose end was never recorded.
Billable seconds for the run. For audio, this is the duration of the audio the server took in. For video, each frame or image the server took in counts as one third of a second, regardless of frame rate, including a realtime frame rejected as invalid after it passed the send-rate check. A run that took in any media is billed at least 10 seconds, applied when the run ends. Updated while a realtime run is in progress. A file request that fails is not billed, and a run recorded for it reports 0.

