Get session totals
Returns exact session counts and run time for one date window: a total, one entry per
UTC day, and one entry per model. Use it for counts and charts. The access rule is the
same as GET /accounts/{account_id}/sessions.
A session counts on the UTC day it was created, including all of its run time. A
closed session ran from created_at to updated_at; an open session runs until the
time of the request.
The window may be at most 366 days. A window holding more than 200,000 sessions
returns 422, and a read longer than 20 seconds returns 504. Neither returns partial
counts; use a narrower window.
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.
Query Parameters
Inclusive lower bound on created_at, as a YYYY-MM-DD date read as midnight UTC.
"2026-10-01"
Exclusive upper bound on created_at, as a YYYY-MM-DD date read as midnight UTC. At most 366 days after after.
"2026-11-01"
Exact, case-sensitive match on the session's model name, for example reactor/helios. Surrounding spaces are trimmed; an empty value means no filter.
"reactor/helios"
Response
The session totals for the window.
Sessions created in the window, after the model filter.
One entry per UTC day in the window, oldest first, including days with no sessions.
One entry per model with sessions in the window, by sessions descending, then model ascending.