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

FieldMeaning
connect_urlAddress 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_urlBrowser'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

request.sh
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

FieldMeaning
idSession id.
statestarting, ready, failed, or gone.
countryExit country asked for.
exit_ipResidential exit the browser uses. Null until ready.
exit_warningSet when the exit rotated to one that failed screening (wrong country, too slow).
pagesDocuments the browser loaded. Null when nobody counted (Firefox).
soft_navigationsRoute changes inside single-page apps, counted apart from pages.
proxy_bytesResidential bytes spent so far.
cdp_trafficControl-channel bytes (to_browser, from_browser). Not billed.
warm_cookiesCookies from a warmed pair at start. 0 is a cold start.
memory.percentShare of the memory limit in use at the last read.
memory.high_water_pctHighest share reached.
memory.tabs_closedTabs the memory guard closed. Empty if within limit.
ended_reasonOne word after end. Null while it lives.
errorSentence when failed or ended early.
failed_atUnix 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:

countries.sh
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.

error.json
{
  "code": "plan_slots",
  "detail": "Every slot of the plan is in use."
}

Health

health.sh
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?

On this page