Skip to content

Read a session's status

GET
/sessions/{id}/status
curl --request GET \
--url https://api.canopyhq.dev/sessions/000000000000000000000000000000000000000000000000000000000000000000000000/status \
--header 'Authorization: Bearer <token>'

The session’s current position and work, read under its session token.

id
required

A stream id: 72 hex chars, the shard then the owner digest.

string

The session to inspect.

The session’s head, active turn, and measured context.

Media typeapplication/json
object
archived
required
boolean
context
One of:
null
head
required

Monotonic per-stream position, minted at the single point of intake. Producers never carry or assert one.

integer format: int64
id
required

A stream id: 72 hex chars, the shard then the owner digest.

string
live
One of:
null
Example
{
"id": "000000000000000000000000000000000000000000000000000000000000000000000000",
"live": {
"phase": "thinking"
}
}

No valid session token.

The token does not read every public session record.