# Browserbase Terminate Session

> Browserbase Terminate Session is a free API for AI agents from Browserbase at mpp.browserbase.com, Free, status unknown (last checked 2026-10-12).

Terminates and cleans up an active Browserbase headless browser session by session ID

## Facts

- Endpoint: DELETE https://mpp.browserbase.com/browser/session/:id?utm_source=zero.xyz
- Price: Free
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Provider: Browserbase
- Docs: https://docs.browserbase.com
- Website: https://browserbase.com
- Tags: browser, scraping, automation, headless, search, fetch, web, compute
- Canonical page: https://www.zero.xyz/c/browserbase-id-a4dcc12a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_3BdVc0mqjdSJ2B1_F3WnX

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability browserbase-id-a4dcc12a -d '<json body>'
```

Example prompt: I'm done scraping, please terminate my Browserbase session with ID abc123 and clean it up.

## When to prefer this

Use this endpoint when you have finished all browser automation tasks and need to explicitly release a Browserbase session to free up resources. This is essential after web scraping, page fetching, or any headless browser task to avoid session leaks or unexpected billing. Prefer this over simply abandoning a session, as it ensures clean resource deallocation.

## Known failure modes

- Session ID not found — 404 if the session does not exist or was already terminated
- Session already closed — attempting to delete an already-terminated session may return an error
- Invalid session ID format — malformed ID results in a 400 bad request
- Unauthorized — missing or invalid credentials returns a 401
- Session in non-terminable state — session may be mid-operation and cannot be forcefully closed immediately

## How this service works

Terminate session

## Output

A confirmation that the browser session has been terminated and its resources released. The session is no longer active and cannot be used for further browser interactions.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "query"
 ],
 "properties": {
  "query": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/browserbase-id-a4dcc12a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from mpp.browserbase.com](https://www.zero.xyz/host/mpp.browserbase.com/llms.txt)
