Get live URLs
GET
/browserbase/v1/sessions/{id}/debug● SupportedRequest parameters
expiresInintegeroptionalTime-to-live of the generated live view URLs, in seconds. If omitted, the URLs expire with the session, up to a maximum of 21600 seconds (6 hours).
idstringrequired
Returns
200
Only the capabilities in the service guide are available; some upstream options are unavailable.
Errors contain statusCode, error and message; the native API adds code. The request ID is in X-Request-Id. Errors
Request example
curl
curl -X GET "https://api.deepraxis.com/browserbase/v1/sessions/${SESSION_ID}/debug" \
-H "X-BB-API-Key: $PRAXIS_API_KEY"Python
import os, requests
response = requests.request("GET", f"https://api.deepraxis.com/browserbase/v1/sessions/{os.environ['SESSION_ID']}/debug",
headers={"X-BB-API-Key": os.environ["PRAXIS_API_KEY"]}
)
print(response.status_code, response.text)TypeScript
const SESSION_ID = process.env.SESSION_ID;
if (!SESSION_ID) throw new Error("Set SESSION_ID");
const response = await fetch(`https://api.deepraxis.com/browserbase/v1/sessions/${SESSION_ID}/debug`, {
method: "GET",
headers: { "X-BB-API-Key": `${process.env.PRAXIS_API_KEY}` },
});
console.log(response.status, await response.text());Stealth options, extensions and Selenium are unavailable; proxies accept only the external type and need the capability opened for your organization. region and solveCaptchas are accepted but ignored; region selection and CAPTCHA solving are not provided.
Response
HTTP 200
The request has succeeded.
application/json
| Name | Type | Description |
|---|---|---|
| debuggerFullscreenUrl | string | |
| debuggerUrl | string | |
| pages | array<object> | |
| pages[].id | string | |
| pages[].url | string | |
| pages[].faviconUrl | string | |
| pages[].title | string | |
| pages[].debuggerUrl | string | |
| pages[].debuggerFullscreenUrl | string | |
| wsUrl | string |