Recording

Opt into per-session WebM video recording with ?record=true

Browser API can record each session as a WebM video. Recording is opt-in — pass ?record=true when connecting and the video is finalized + uploaded when you disconnect.

wss://api.anakin.io/v1/browser-connect?record=true

Recording is free — no extra credits beyond the standard 1 credit / 2 minute rate.

Retrieving recordings

After disconnecting, your recording is available via the API:

# List all recordings
curl https://api.anakin.io/v1/recordings \
  -H "X-API-Key: your_api_key"

# Get a specific recording (includes a presigned video URL)
# The path param accepts either the `id` (UUID) or the `connId` (rec-…).
curl https://api.anakin.io/v1/recordings/rec-123 \
  -H "X-API-Key: your_api_key"

# Download the video directly — 302-redirects to a 1-hour presigned URL
curl -OL https://api.anakin.io/v1/recordings/rec-123/download \
  -H "X-API-Key: your_api_key"

The detail endpoint returns a presigned video URL valid for 1 hour:

{
  "id": "abc-123",
  "connId": "rec-123",
  "duration": 45,
  "fileSize": 304205,
  "status": "completed",
  "videoUrl": "https://s3.amazonaws.com/...",
  "createdAt": "2026-04-01T12:00:00Z"
}

Recordings are also browsable from your dashboard.

Pairing with other features

Combine recording with saved sessions — both work transparently on the same connection:

wss://api.anakin.io/v1/browser-connect?record=true&save_session=my-login&save_url=https://amazon.com

The recording captures the entire session including the auto-save handshake at the end.

Specs

PropertyValue
FormatWebM (VP8)
Frame rate15 fps
Resolution1920 × 1080
Retention7 days
CostIncluded (no extra credits)
Typical size~50 MB for a 2-hour session
AvailabilityRecording is finalized a few seconds after you disconnect

Default

Recording is off by default. If you don't pass ?record=true, no video is captured and nothing is uploaded.

Billing is unchanged either way — recording is a privacy / storage knob, not a billing one.