Skip to main content
GET
Read a workspace's logs
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
string

Only this session; absent or empty selects all sessions.

limit
integer
default:50

Commands per JSON page. Ignored for JSONL export.

Required range: 1 <= x <= 200
after
string

Opaque next cursor from the previous page with the same filters. Ignored for JSONL export.

format
string
default:json

jsonl downloads all retained matching commands; other values select JSON.

Response

OK

items
CommandLog · object[]
required
next
string | null
required