*** title: runtime.recording description: Mint a recording embed for the browser runtime. ------------------------------------------------------------ `runtime.recording` is a browser runtime capability in the `runtime` namespace. ## Availability * Runtime: `browser` * Kind: `lifecycle` * Category: `lifecycle` * Supported drivers: Playwright, Puppeteer, Stagehand, browser-use ## SDK Surface * SDK path: `runtime.recording` * Async: Yes ## HTTP Surface * Transport: resource route * Route: `POST /workspaces/{id}/runtimes/{alias}/embed/recording` * Long-running: No ## Arguments | Argument | Type | Required | Description | | --------- | -------- | -------- | ------------------------ | | `options` | `object` | No | Recording embed options. | ## Result * Type: `embed` * Description: Recording embed metadata including iframe URL and replay details. ## SDK Example ```ts await runtime.recording(); ``` ## HTTP Example ```http POST /workspaces/{id}/runtimes/{alias}/embed/recording ``` ## Related Capabilities * [`runtime.live`](../lifecycle/runtime-live) * [`runtime.stop`](../lifecycle/runtime-stop)