billing
Get Tenant Hourly Costs Route
Hourly LLM cost (USD) for a tenant over a window (default: last 7 days).
Sourced live from Prometheus (LiteLLM's litellm_spend_metric_total). Note: Prometheus retention currently bounds how far back data actually exists (~3h today) — older hours come back absent until retention is raised or an hourly persistence job backfills them.
get/api/v1/billing/tenants/{tenant_id}/costs/hourly
Request
- Base URLhttps://api.aws.cognee.ai (the document declares no server; this is the origin it was published from)
- AuthAPI key in header X-Api-Key
Path parameters
tenant_idstring uuid required
Query parameters
startstring date-time nullable
UTC window start; defaults to 7 days before end.
endstring date-time nullable
UTC window end; defaults to now.
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.