Get Token Usage Cost Over Time
GET/api/v2/cost/organizations/:organization_id/stats/cost-over-time
Returns the LLM cost per UTC day, in USD. Days without any usage are left out.
Filter by workspace_id to get one workspace's cost. You need cost read access in that workspace. Omitting workspace_id covers the whole organization and requires the organization admin role.
Request
Responses
- 200
- 422
Successful Response
Validation Error
Was this page helpful?