Skip to main content
GET
Get usage for the current billing period

Authorizations

Authorization
string
header
required

Enter your API key (e.g. dai_sk_test_key_001)

Headers

Authorization
string

Query Parameters

workspace_id
string | null

H1334 (improve#681): NOT supported on this endpoint. Billing counters are org-wide; per-workspace breakdown isn't computed. Providing this param returns 400 so callers don't silently get the org-wide totals they thought were workspace-scoped.

Cookies

decimal_session
string | null

Response

Successful Response