Create a Session
Authorizations
Your Browserbase API Key.
Body
The uploaded Extension ID. See Upload Extension.
Set to true to keep the session alive even after disconnections. This is available on the Startup plan only.
Proxy configuration. Can be true for default proxy, or an array of proxy configurations.
The region where the Session should run.
us-west-2
, us-east-1
, eu-central-1
, ap-southeast-1
Duration in seconds after which the session will automatically end. Defaults to the Project's defaultTimeout
.
60 < x < 21600
Arbitrary user metadata to attach to the session.
Response
WebSocket URL to connect to the Session.
Indicates if the Session was created to be kept alive upon disconnections
The Project ID linked to the Session.
The region where the Session is running.
us-west-2
, us-east-1
, eu-central-1
, ap-southeast-1
HTTP URL to connect to the Session.
Signing key to use when connecting to the Session via HTTP.
RUNNING
, ERROR
, TIMED_OUT
, COMPLETED
CPU used by the Session
Optional. The Context linked to the Session.
Memory used by the Session
Arbitrary user metadata to attach to the session.
Was this page helpful?