Skip to main content
GET
List jobs
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.

Query Parameters

session_id
string

Only this session's records; every session's when absent.

state
enum<string>

Only the records in this state.

Available options:
running,
stopping,
exited
line_id
string

Only the jobs this line started.

Response

200 - application/json

OK

command
string
required
cwd
string
required
ended_at
number | null
required
exit
integer | null
required
group
integer | null
required
id
string
required
line_id
string | null
required
number
integer
required
pid
integer | null
required
session_id
string
required
signal
integer | null
required
started_at
number
required
state
string
required