POST
/
v1
/
sessions
/
{id}

Authorizations

X-BB-API-Key
string
header
required

Path Parameters

id
string
required

Body

application/json
projectId
string
required

The Project ID. Can be found in Settings.

status
enum<string>
required

Set to REQUEST_RELEASE to request that the session complete. Use before session's timeout to avoid additional charges.

Available options:
REQUEST_RELEASE

Response

200 - application/json
createdAt
string
required
expiresAt
string
required
id
string
required
keepAlive
boolean
required

Indicates if the Session was created to be kept alive upon disconnections

projectId
string
required

The Project ID linked to the Session.

proxyBytes
integer
required

Bytes used via the Proxy

region
enum<string>
required

The region where the Session is running.

Available options:
us-west-2,
us-east-1,
eu-central-1,
ap-southeast-1
startedAt
string
required
status
enum<string>
required
Available options:
RUNNING,
ERROR,
TIMED_OUT,
COMPLETED
updatedAt
string
required
avgCpuUsage
integer

CPU used by the Session

contextId
string

Optional. The Context linked to the Session.

endedAt
string
memoryUsage
integer

Memory used by the Session

userMetadata
any

Arbitrary user metadata to attach to the session.