v60

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-0283227863.6 KB
Browser Sessions

Close a session

Close a session. Once closed, the session cannot be used again.

post/v1/browser_sessions/{browser_session_id}/close

Path parameters

browser_session_idstring 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

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_

Headers

x-api-keystring nullable

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

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

Response

Successfully closed browser session

{"stackTrail":"paths:/v1/browser_sessions/{browser_session_id}/close:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}