Skip to content

sessions module route (requires sessions:decision:read)

GET
/v1/m/sessions/decisions
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.

X-Olivares-Tenant
string format: uuid

Target tenant id; required when the principal can act in more than one tenant.

limit
string

Keyset page size from 1 through 200; default 100.

cursor
string

Opaque UUIDv7 keyset cursor returned by the previous page.

work_item_id
string

Allowlisted Decision filter; filters combine with AND.

decision_key
string

Allowlisted Decision filter; filters combine with AND.

subject_kind
string

Allowlisted Decision filter; filters combine with AND.

subject_ref
string

Allowlisted Decision filter; filters combine with AND.

decided_by_kind
string

Allowlisted Decision filter; filters combine with AND.

decided_by_ref
string

Allowlisted Decision filter; filters combine with AND.

effective
string

Allowlisted Decision filter; filters combine with AND.

revoked
string

Allowlisted Decision filter; filters combine with AND.

OK

Media type application/json
object
Example generated
{}

Bad request

Media type application/json
object
Example generated
{}

Unauthenticated

Media type application/json
object
Example generated
{}

Forbidden

Media type application/json
object
Example generated
{}

Not found

Media type application/json
object
Example generated
{}

Conflict / setup required

Media type application/json
object
Example generated
{}

ETag or plan precondition failed

Media type application/json
object
Example generated
{}

Domain invariant not satisfied

Media type application/json
object
Example generated
{}

Work is blocked

Media type application/json
object
Example generated
{}

Rate limited

Media type application/json
object
Example generated
{}

Required evidence, policy, clock or store is unavailable

Media type application/json
object
Example generated
{}