v97

latestOpenAPI 3.1.0raw.githubusercontent.com2026-07-31135175384.2 KB
Browser Replays

Start a browser session replay recording

Start recording the browser session and return a replay ID.

post/browsers/{id}/replays

Path parameters

idstring required

Browser session ID

Request body

framerateinteger

Recording framerate in fps. Values above 20 require GPU to be enabled on the browser session.

max_duration_in_secondsinteger

Maximum recording duration in seconds.

record_audioboolean

Record audio in addition to video. When false (the default), the recording is video-only.

Response

Recording started successfully.

replay_idstring required

Unique identifier for the replay recording.

started_atstring date-time nullable

Timestamp when replay started

finished_atstring date-time nullable

Timestamp when replay finished

replay_view_urlstring

URL for viewing the replay recording.

Example response

{
  "replay_view_url": "https://api.onkernel.com/browser/replays?jwt=eyJ0eXAi...&replay_id=7e2c1a9f-1234-4cde-9abc-ffeedd001122"
}