GET

Authorizations

x-api-key
string
header
required

Headers

bma-workspace-id
string

Project scope. Required when the API key can access more than one project. Also accepted as anthropic-workspace-id; headers sent together must agree, otherwise the request is a 400 workspace_id_conflict.

Query Parameters

machine_id
string

Required. The machine whose terminal sessions are listed (mch_ followed by 26 base32 characters); a request without it is a 400.

Response

One page of the machine's terminal sessions.

data
object[]
required

The sessions of this page, newest first.

next_page
string | null
required

Opaque cursor of the next page, to send as the page query parameter; null on the last page.