Skip to main content
GET
Get daily usage
days defaults to 7 and ranges from 1 to 30. This operation requires pricing to be configured for the workspace; otherwise it returns 400. The response includes daily items and totals. Currency and amount fields reflect workspace pricing.

Authorizations

Authorization
string
header
required

Bandwidth Labs OAuth access token. Uses the user's selected workspace; the workspace header is not required. Do not also send an API key. Bearer-only operations may additionally require the Labs super_user role.

Headers

X-VOAI-ORGANIZATION-ID
string | null

Required with X-BW-LABS-AGENTS-API-KEY: the positive local workspace ID to access. The key owner must be a current member. Missing or invalid IDs return 400; non-member workspaces return 403. Not required for bearer authentication, which uses the user's selected workspace.

Query Parameters

days
integer
default:7

Number of days to include

Required range: 1 <= x <= 30

Response

Successful Response

breakdown
DailyUsageItem · object[]
required
total_minutes
number
required
total_voai_tokens
number
required
currency
string | null
total_cost_usd
number | null