Skip to main content
GET
Get session totals

Authorizations

Authorization
string
header
required

A Reactor API key (rk_...), sent as Authorization: Bearer rk_.... Keep it on a server.

Path Parameters

account_id
string<uuid>
required

The account's ID. Use the account_id from GET /me.

Query Parameters

after
string<date>
required

Inclusive lower bound on created_at, as a YYYY-MM-DD date read as midnight UTC.

Example:

"2026-10-01"

before
string<date>
required

Exclusive upper bound on created_at, as a YYYY-MM-DD date read as midnight UTC. At most 366 days after after.

Example:

"2026-11-01"

model
string

Exact, case-sensitive match on the session's model name, for example reactor/helios. Surrounding spaces are trimmed; an empty value means no filter.

Example:

"reactor/helios"

Response

The session totals for the window.

total
integer<int64>
required

Sessions created in the window, after the model filter.

by_day
object[]
required

One entry per UTC day in the window, oldest first, including days with no sessions.

by_model
object[]
required

One entry per model with sessions in the window, by sessions descending, then model ascending.