v4

OpenAPI 3.0.12026-08-0149261422.6 KB
Sessions

Create a session

Creates a new session with the specified configuration. This feature is enabled for selected organizations only.

post/api/v0/sessions

Request body

computerIdstring required

Computer ID to connect

cwdstring

Working directory for the session on the computer.

Response

Response for status 201

sessionIdstring required

Session ID

titlestring

Session title

status'idle' | 'pending' | 'running' required

Current session execution status

messageCountinteger required

Number of messages in session

createdAtinteger required

Creation timestamp (Unix ms)

updatedAtinteger required

Last update timestamp (Unix ms)

completedAtinteger

Completion timestamp (Unix ms)

computerIdstring

Connected computer ID