Skip to main content
GET
Get a line
See error examples and recovery steps. The complete OpenAPI contract includes every response schema.

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.

line_id
string
required

The line's id, as a shell result's line_id names it.

Response

200 - application/json

OK

command
string
required
ended_at
number | null
required
error
string | null
required
exit
integer | null
required
id
string
required
jobs
string[]
required
machines
string[]
required
processes
integer[]
required
session_id
string
required
signal
integer | null
required
started_at
number
required
state
string
required