AI agent instructions
AI agent instructions
GET /sessions/{session_id}/replay returns presigned URLs for the session recording after the session has ended.
The field most clients need is mp4_url: a time-limited presigned URL for the MP4 file. Use it to download or share the recording from any HTTP client (webhooks, CI, non-Python SDKs). Check expires_at for when the URL stops working.
Response fields
string | null
Presigned URL for downloading the session recording as an MP4. Prefer this when you need the video file itself.
string | null
HLS playlist content with presigned segment URLs, for streaming playback.
string | null
When the presigned URLs expire. Download promptly if you need a durable copy.
integer | null
Video start offset in milliseconds.
integer | null
Video duration in milliseconds.