Close a Browserbase session by updating its status to REQUEST_RELEASE, or update other mutable session fields.
Documentation Index
Fetch the complete documentation index at: https://docs.browserbase.com/llms.txt
Use this file to discover all available pages before exploring further.
status: "REQUEST_RELEASE" in the request body (projectId is optional). This tells Browserbase to end the session and helps avoid unnecessary usage charges if your work is already complete.
Your Browserbase API Key.
Set to REQUEST_RELEASE to request that the session complete. Use before session's timeout to avoid additional charges.
REQUEST_RELEASE The request has succeeded.
The Project ID linked to the Session.
PENDING, RUNNING, ERROR, TIMED_OUT, COMPLETED Indicates if the Session was created to be kept alive upon disconnections
The region where the Session is running.
us-west-2, us-east-1, eu-central-1, ap-southeast-1 Optional. The Context linked to the Session.
Arbitrary user metadata to attach to the session. To learn more about user metadata, see User Metadata.