Skip to content

Get context

GET
/contexts/{contextID}

Retrieve a single execution context by ID.

contextID
required
string

Unique context identifier.

Context retrieved.

object
id
required

Unique context identifier.

string
Example
V1StGXR8_Z5jdHi6B-myT
language
required

Language runtime: 1 = python, 2 = typescript.

integer
Allowed values: 1 2
cwd
required

Working directory for the session.

string
Example
/home/user

Resource not found.

object
message
required

Human-readable error message.

string