Skip to main content
POST
Start recording

Authorizations

Authorization
string
header
required

An API key from the dashboard, such as sk_live_…. It acts in its workspace.

Path Parameters

sandbox_id
string
required

The sandbox, sbx_….

Body

application/json
audio
boolean | null

Record the browser's audio too, as its own file; true when absent.

name
string | null

The folder in the sandbox's folder its files go in, such as checkout-flow; the recording's ID when absent.

Response

Created

assets
object[]
required

Its files, once it's done: the screen's video (screen.mp4, or screen.mkv from a GPU capture), and the browser's audio (system-audio.m4a) when it records audio.

created_at
string
required

RFC 3339.

folder
string
required

The folder its files go in.

id
string
required

rec_….

sandbox_id
string
required

The sandbox it records.

state
string
required

recording, done or failed.

error
string | null

Why it failed, or why a file of it is missing.

stopped_at
string | null

RFC 3339.