sessions module route (requires sessions:decision:read)
const url = 'https://example.com/v1/m/sessions/decisions';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/v1/m/sessions/decisions \ --header 'Authorization: Bearer <token>'Lists the recorded work decisions with keyset paging, narrowed by the allowlisted filters, which combine with AND.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Header Parameters
Section titled “Header Parameters ”Target tenant id; required when the principal can act in more than one tenant.
Query Parameters
Section titled “Query Parameters ”Keyset page size from 1 through 200; default 100.
Opaque UUIDv7 keyset cursor returned by the previous page.
Allowlisted Decision filter; filters combine with AND.
Allowlisted Decision filter; filters combine with AND.
Allowlisted Decision filter; filters combine with AND.
Allowlisted Decision filter; filters combine with AND.
Allowlisted Decision filter; filters combine with AND.
Allowlisted Decision filter; filters combine with AND.
Allowlisted Decision filter; filters combine with AND.
Allowlisted Decision filter; filters combine with AND.
Responses
Section titled “ Responses ”OK
object
Example generated
{}Bad request
object
Example generated
{}Unauthenticated
object
Example generated
{}Forbidden
object
Example generated
{}Not found
object
Example generated
{}Conflict / setup required
object
Example generated
{}ETag or plan precondition failed
object
Example generated
{}Domain invariant not satisfied
object
Example generated
{}Work is blocked
object
Example generated
{}Rate limited
object
Example generated
{}Required evidence, policy, clock or store is unavailable
object
Example generated
{}