Download Recording
Recording
Download Recording
Download the finalized MP4 recording for a session.
GET
Download Recording
Overview
Returns the MP4 bytes of the most recent completed recording for the session. CallPOST /browser/sessions/{id}/recording/stop first — in-progress recordings cannot be downloaded.
Response Content-Type is video/mp4 with a Content-Disposition: attachment header.
Path Parameters
Browser session ID (UUID).
Example Request
Response
Success Response (200)
Binary MP4. Response headers:Content-Type: video/mp4Content-Disposition: attachment; filename="recording-<id>.mp4"
-o session.mp4 in cURL, or read response.body as bytes.
Error Responses
| Status | Description |
|---|---|
401 | Unauthorized — invalid or missing API key. |
404 | Session not found, or no completed recording exists. |
409 | Recording is still in progress — stop it first. |