Who controls a connected cloud browser
The control state of a cloud browser session that is connected now.
Requires scope: browser
The control state of a cloud browser session that is connected now. A session exists from its
connect until its socket closes; after that, and for another organization's session, this is 404.
Poll it after sending a person a live view, and continue once controller is agent again.
Requires the browser scope; the key in the Authorization header.
Authorization
bearerAuth Authorization: Bearer <key>. Read the key from the SPICRAWL_API_KEY environment
variable; never hard-code or log it. spicrawl_test_… keys can never spend live
credits. Scopes: scrape, batch, sessions (granted by default), browser
and read (granted deliberately). A missing scope is 403 ERR::AUTH::INSUFFICIENT_SCOPE naming the scope.
In: header
Path Parameters
The session_id that POST /v1/browser/token returned for this connection. An unknown, closed or other organization's session answers 404 ERR::REQUEST::NOT_FOUND.
^bs[0-9a-f]{24}$Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
curl -X GET "https://example.com/v1/browser/sessions/bs4f0c2a9e1d7b38c65a0e9f12"{ "session_id": "string", "status": "running", "controller": "agent", "expires_at": "2019-08-24T14:15:22Z"}Mint a single-use connect URL for /v1/browser POST
Returns a `/v1/browser` URL that carries a short-lived token instead of the API key, for CDP clients that accept only a URL.
Get a live view link for a connected cloud browser POST
A link a person opens to watch the cloud browser your CDP connection is driving and take control of it: the same tabs, cookies and page.