Recording

View as Markdown

Every run is recorded. After it finishes, mint a viewer URL to replay the full session - useful for debugging agent behaviour, audits, and support.

Get a recording

1const recording = await bctrl.runs.recording(runId);
2
3console.log(recording.url); // embed to replay
4console.log(recording.status); // recording availability
5console.log(recording.durationMs); // length of the session
6console.log(recording.expiresAt); // lease expiry

Like live view, the recording URL is a time-limited lease. Mint a fresh one when it expires.

Next