Skip to content

sessions_list

GET
/sessions
curl --request GET \
--url https://api.canopyhq.dev/sessions \
--header 'Authorization: Bearer <token>'
principal
string

Only the sessions filed under this principal; absent, every session of the install.

after

An opaque continuation from an owner’s directory.

string

The opaque continuation returned by the prior page.

limit
integer

Maximum rows to return; defaults to 50.

One page of the install’s sessions, or one principal’s.

Media typeapplication/json

One bounded page from an install’s session directory.

object
items
required
Array<object>

A session’s directory row. subject is the filed subject digest.

object
archived
required
boolean
id
required

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

string
opened
required
string
subject
string | null
next
One of:
null
Example
{
"items": [
{
"id": "000000000000000000000000000000000000000000000000000000000000000000000000"
}
]
}

A query string that did not parse.

No install key, or one no install answers.