POST /accounts/{account_id}/browser-rendering/devtools/browser/{session_id}/live_view
Generates time-limited URLs to view a remote browser session. Set guardrails: { mode: 'readonly' } to create a view-only link.
Servers
- https://api.cloudflare.com/client/v4
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
session_id |
String | Yes |
Browser session ID |
account_id |
String | Yes |
Account ID. |
Request headers
| Name | Type | Required | Description |
|---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Request body fields
| Name | Type | Required | Description |
|---|---|---|---|
guardrails |
Object | No |
Connection guardrails. Use |
guardrails.mode |
String | Yes |
Valid values:
|
targetId |
String | No |
Target ID (page) to connect to. If omitted, auto-resolves to the first active page. |
mode |
String | No |
UI mode: 'devtools' (Chrome DevTools), 'tab' (single tab view), 'full' (multi-tab browser) Valid values:
Default value: "devtools" |
expiresInMs |
Number | No |
How long the live view URLs remain valid, in milliseconds. Default: 5 minutes. Max: 60 minutes. Default value: 300000 |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.