Skip to main content
Create a session

Authorizations

Authorization
string
header
required

The server's token (MIRAGE_AUTH_TOKEN) or a JWT. A daemon in the default local mode with no token accepts requests without one.

Path Parameters

workspace_id
string
required

The workspace's id.

Body

application/json
session_id
string | null
mounts
Mounts · object | null
profile
string | null

Response

Created

session_id
string
required
cwd
string
required