{"uid":"cap_3BdVc0mqjdSJ2B1_F3WnX","slug":"browserbase-id-a4dcc12a","name":"Browserbase Terminate Session","description":"Terminate session","url":"https://mpp.browserbase.com/browser/session/:id?utm_source=zero.xyz","method":"DELETE","headers":{},"bodySchema":{"type":"object","required":["query"],"properties":{"query":{"type":"string"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["browser","scraping","automation","headless","search","fetch","web","compute"],"displayCostAmount":"0","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"unprobed","priceSource":"unknown","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"free","summary":"Free","primary":null,"accepted":[]},"paymentMethods":[],"brandName":"Browserbase","brandSlug":"browserbase","brandBaseUrl":"https://browserbase.com","brandDocsUrl":"https://docs.browserbase.com","whatItDoes":"Terminates and cleans up an active Browserbase headless browser session by session ID","exampleAgentPrompt":"I'm done scraping, please terminate my Browserbase session with ID abc123 and clean it up.","exampleUseCases":[{"title":"Conclude web scraping job cleanly","prompt":"I've finished collecting all the product prices from that e-commerce site. Can you terminate the Browserbase session xyz789 so we don't keep getting charged for it?"},{"title":"Free resources after automated testing","prompt":"Our QA tests just completed running through all those user workflows. Please shut down the browser session 456def and release those resources."},{"title":"Stop background page monitoring session","prompt":"We've collected enough data from monitoring that competitor's website changes. Go ahead and clean up the Browserbase session 789ghi to stop the ongoing charges."}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T14:47:16.179Z","isFirstParty":false,"canonicalSlug":"browserbase-id-a4dcc12a"}