List sessions started by an API key
Lists the sessions started with one API key, newest first. A session keeps the key that
started it, even after a restart, a token refresh, or the key’s revocation. Callers
with the developer or account_admin role may read their own account, including
sessions started with other members’ keys.
A key with no sessions in your account returns an empty list, whether the key is unused, unknown, or belongs to another account. Sessions created before key tracking began are not listed. Results filter on creation time, not on usage in the window.
Results use cursor pagination. A page can be short or empty while has_more is still
true; keep requesting until next_cursor is null. Keep the filters unchanged
between pages. There is no total.
Authorizations
A Reactor API key (rk_...), sent as Authorization: Bearer rk_.... Keep it on a server.
Path Parameters
The account's ID. Use the account_id from GET /me.
The API key's ID, as returned when the key was created or listed.
Query Parameters
active for sessions not yet closed, past for closed sessions, all for both.
all, active, past Inclusive lower bound on created_at, as an RFC 3339 timestamp. Dates without a time are rejected.
"2026-11-01T00:00:00Z"
Exclusive upper bound on created_at, as an RFC 3339 timestamp. Must be later than after.
"2026-12-01T00:00:00Z"
Page size, from 1 to 200. Values outside that range return 400.
1 <= x <= 200The opaque next_cursor from the previous page. Omit it for the first page.
Response
A page of sessions.