billing

Get Buckets

Daily spend buckets for the calling identity (TOS-3280).

date_from is caller-overridable with no cursor equivalent - this is a continuous daily time series feeding a chart, not a row list with a "next page" affordance. The genuine unbounded-response risk (a multi-year request returning one row per day for years) is closed by clamping the window to :data:MAX_BUCKET_RANGE_DAYS server-side, silently narrowing rather than erroring, matching this contract's other ceiling (bounded_limit).

get/api/billing/usage/buckets

Request

  • Base URL: https://app.thinqos.com (the document declares no server; this is the origin it was published from)
  • URL: https://app.thinqos.com/api/billing/usage/buckets
  • Auth: none declared

Query parameters

providerstring[] nullable
modelstring nullable
capabilitystring[] nullable
operationstring nullable
funding_sourcestring[] nullable
cost_statusstring[] nullable
provider_key_idstring uuid nullable
request_idstring nullable
chat_idstring uuid nullable
message_idstring uuid nullable
date_fromstring date-time nullable
date_tostring date-time nullable
tzstring nullable
target_identity_idstring uuid nullable

Headers

x-impersonate-identity-idstring nullable

Response

Successful Response

object[] required

Changes

No recorded changes to this operation across all 2 revisions of this API.