Skip to content

Create a new session

POST
/v1/sessions

Allocates a board of the requested type and starts a new session.

Authorizations

BearerAuth

API key (Bearer key_...)

Type
API Key (header: Authorization)

Request Body

application/json
JSON
{
  
"base_image_id": "string",
  
"board_type": "string"
}

Responses

Created

application/json
JSON
{
  
"base_image_id": "string",
  
"board_id": "string",
  
"board_specs": "string",
  
"board_type": "string",
  
"created_at": "string",
  
"credits_used": 0,
  
"end_reason": "string",
  
"ended_at": "string",
  
"id": "string",
  
"started_at": "string",
  
"state": "string",
  
"user_id": "string"
}

Playground

Authorization
Body

Samples

Powered by VitePress OpenAPI