Skip to main content
GET
Get org usage

Authorizations

Authorization
string
header
required

An opaque Omnara personal or organization bearer token.

Path Parameters

orgID
string
required
Pattern: ^org_[a-z2-7]{26}$

Query Parameters

since
string<date-time>

Only tally model calls started at or after this instant. Omit to start from the earliest recorded call.

until
string<date-time>

Only tally model calls started before this instant. Must be later than since when both are given. Omit to include calls up to now.

include_project_ids
string[]

Only tally model calls from these projects. Cannot be combined with exclude_project_ids.

Required array length: 1 - 100 elements
Pattern: ^proj_[a-z2-7]{26}$
exclude_project_ids
string[]

Tally model calls from every project except these. Cannot be combined with include_project_ids.

Required array length: 1 - 100 elements
Pattern: ^proj_[a-z2-7]{26}$

Response

Usage totals for the organization.

totals
object
required
by_model
object[]
required

Per-model rows ordered by provider config name, configured model name, then provider model slug. Models with distinct provider slugs across revisions appear once per slug.