Connect URL and session response
After create, your tool connects with connect_url (and sometimes ws_url). The rest of SessionRecord tells you exit IP, pages, memory, and why the session ended.
In the dashboard: Connection details and Playwright sample. In the API: connect_url, ws_url, and the fields below.
Connect URLs
| Field | Meaning |
|---|---|
connect_url | Address a tool connects to. Chromium: http(s) CDP endpoint. Firefox: wss URL of the Playwright server. The token in it is the credential: whoever holds the address drives the browser. |
ws_url | Browser's own websocket, for tools that take one rather than an http endpoint. Known once the session is ready. |
OpenAPI info: drive over CDP with Playwright, Puppeteer, or agents. A Firefox session is a Playwright server instead and takes a Playwright 1.60 client only.
Chromium create + connect shape
curl -X POST "https://interact.geonode.io/v1/sessions?wait=true" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"country": "us",
"engine": "chromium"
}'Use session.connect_url with Playwright connectOverCDP (or another CDP client). Keep the URL on your server.
Key SessionRecord fields
| Field | Meaning |
|---|---|
id | Session id. |
state | starting, ready, failed, or gone. |
country | Exit country asked for. |
exit_ip | Residential exit the browser uses. Null until ready. |
exit_warning | Set when the exit rotated to one that failed screening (wrong country, too slow). |
pages | Documents the browser loaded. Null when nobody counted (Firefox). |
soft_navigations | Route changes inside single-page apps, counted apart from pages. |
proxy_bytes | Residential bytes spent so far. |
cdp_traffic | Control-channel bytes (to_browser, from_browser). Not billed. |
warm_cookies | Cookies from a warmed pair at start. 0 is a cold start. |
memory.percent | Share of the memory limit in use at the last read. |
memory.high_water_pct | Highest share reached. |
memory.tabs_closed | Tabs the memory guard closed. Empty if within limit. |
ended_reason | One word after end. Null while it lives. |
error | Sentence when failed or ended early. |
failed_at | Unix seconds if it never came up. Record stays readable for a few minutes. |
warm_for (create body)
SessionRequest.warm_for: string or null. A domain the session starts from (for example cars.com). When the pool holds a warmed cookie and exit pair for it, the session starts on that pair. Response warm_cookies shows how many cookies came from that pair (0 is a cold start).
Exit countries list:
curl "https://interact.geonode.io/v1/countries" \
-H "X-API-Key: YOUR_API_KEY"Errors
Every refusal has ErrorAnswer shape: code (one word a program can switch on) and detail (a sentence). Numbers quoted in the sentence can also appear as their own fields.
code values from OpenAPI: unauthorized, no_plan, account_restricted, not_found, no_recording, validation, plan_engine, plan_ttl, plan_slots, country, quota, start_failed, backend_full, or billing_unavailable.
{
"code": "plan_slots",
"detail": "Every slot of the plan is in use."
}Health
curl "https://interact.geonode.io/health"Use this for a simple up check. Session work still needs X-API-Key on /v1 routes.
Next
Was this page helpful?