Skip to main content
GET
Per-person, per-model consumption for the org

Authorizations

Authorization
string
header
required

Supabase JWT token in Authorization: Bearer header

Path Parameters

org_id
string
required

Organization identifier (e.g. org-abc12345)

Query Parameters

days
enum<integer>
default:30
Available options:
7,
30,
90
person_id
string
provider
string
model
string
limit
integer
default:100
Required range: 1 <= x <= 200
cursor
string

Response

Per-person, per-model consumption rows + org-wide totals for the window.

from
string<date-time>
to
string<date-time>
collection_started_at
string<date-time> | null

Earliest v1-attributed event for this org, independent of the selected filters. Null until the org has a v1 event.

data
object[]
totals
object
next_cursor
string | null