GET /sessions/:id
Returns a session: its proxy, identity and every cookie, with values. 404 NOT_FOUND if it doesn't exist or has expired.
curl "$SCRAPE_ENGINE_URL/sessions/docs-demo" -H "Authorization: Bearer $SCRAPE_ENGINE_KEY"{
"id": "docs-demo",
"expires_at": "2026-10-19T14:32:10.000Z",
"proxy": null,
"fingerprint": null,
"user_agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 …",
"cookies": [
{
"name": "demo_auth",
"value": "demo-user",
"domain": "localhost",
"path": "/demo",
"secure": false,
"http_only": true
}
]
}expires is set on cookies that have an expiry date. The proxy is described, never its address or credentials.
DELETE /sessions/:id
Forgets the session: its cookies, proxy and identity. { "deleted": true }, or 404 NOT_FOUND.
curl -X DELETE "$SCRAPE_ENGINE_URL/sessions/docs-demo" -H "Authorization: Bearer $SCRAPE_ENGINE_KEY"