Skip to main content
POST
/
v1
/
browser_sessions
/
{browser_session_id}
/
close
Close a session
curl --request POST \
  --url https://api.skyvern.com/v1/browser_sessions/{browser_session_id}/close
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Headers

x-api-key
string | null

Skyvern API key for authentication. API key can be found at https://app.skyvern.com/settings.

Path Parameters

browser_session_id
string
required

The ID of the browser session to close. completed_at will be set when the browser session is closed. browser_session_id starts with pbs_

Example:

"pbs_123456"

Response

Successfully closed browser session