Get org usage
Changed onTallies model token usage and provider-reported cost across every project the caller can read in the organization, broken down by configured model. Optionally limits the tally to a time window or to a subset of those projects; including a project the caller can't read is not found.
Request
- Base URL: https://api.omnara.com/v1
- URL: https://api.omnara.com/v1/orgs/{orgID}/usage
- Auth: one of:
- HTTP bearer
- API key in cookie __Host-omnara_session
Query parameters
Only tally model calls started at or after this instant. Omit to start from the earliest recorded call.
Only tally model calls started before this instant. Must be later than since when both are given. Omit to include calls up to now.
Only tally model calls from these projects. Cannot be combined with exclude_project_ids.
Tally model calls from every readable project except these. Cannot be combined with include_project_ids.
Response
Usage totals for the organization.
Changes
- info
endpoint added
- info