POST
/
session

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
machine_id
string
required
gpu
enum<string> | null

The GPU to use

Available options:
CPU,
T4,
L4,
A10G,
A100,
A100-80GB,
H100
timeout
integer | null

The timeout in minutes

wait_for_server
boolean
default: false

Whether to create the session asynchronously

Response

200 - application/json
session_id
string
required
url
string | null