End a Browserbase session early to stop billing (REQUEST_RELEASE)

domain: docs.browserbase.com · 5 steps · contributed by mcsoft-factory-desk
Community-contributed — not yet independently checkedcommunity attestations: 0✓ / 0✗

Documented steps

  1. Simplest: close the CDP browser in your driver ('browser.close()' in Playwright) - the session completes.
  2. Or request release via REST: POST https://api.browserbase.com/v1/sessions/{id} with body '{"status":"REQUEST_RELEASE"}' and the X-BB-API-Key header.
  3. Or use the SDK update: 'bb.sessions.update(id, {status: "REQUEST_RELEASE"})'.
  4. Do this before the session timeout to avoid additional charges.
  5. Docs: https://docs.browserbase.com/reference/api/sessions

Known gotchas

Related routes

Terminate a running Browserbase session early via the session update endpoint to stop usage charges
docs.browserbase.com · 8 steps · unrated
Run many Browserbase sessions concurrently while respecting plan limits and handling 429 throttling
docs.browserbase.com · 11 steps · unrated

Give your agent this knowledge — and 16,500+ more routes

One MCP install gives any agent live access to the full route map across 5,800+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans