Get usage
Authorizations
Send Authorization: Bearer , using an MKA1 API key for automation or an OAuth API access token for a signed-in application. Use a dynamic security callback to refresh OAuth access tokens. Browser session-only operations still require their declared cookie.
Headers
Optional external end-user identifier forwarded by the API gateway.
Query Parameters
Inclusive RFC 3339 timestamp on an exact UTC minute boundary; never rounded. Defaults to 30 days before to, and the response then sets window.defaulted.
Exclusive RFC 3339 timestamp on an exact UTC minute boundary; never rounded and cannot be later than the server's current UTC minute boundary. Defaults to that boundary, and the response then sets window.defaulted.
job, service, volume 1 <= x <= 200Response
Usage in the half-open requested window
When these figures were computed, in whole UTC seconds.
True when the whole window is final: window.to is at or before final_through. Otherwise the figures are provisional and can still change.
Usage before this instant is final and will not change; usage at or after it is provisional. At most as_of minus settlement_window_seconds. It is also held back to the point through which the meter has recorded the job and service usage in scope, because a meter that falls behind backfills the missed minutes later, and, when standalone volumes are in scope (resource_type omitted or volume), to volume_usage_complete_through. Both watermarks are capped to the requested window.
Required alignment and allocation granularity of the requested window.
minute How long after it occurs usage can still change: always 86400 (24 hours). Usage older than this is final.
Finalized hourly volume totals are allocated uniformly over their immutable billable interval.
uniform_proration Immutable UTC bucket granularity of standalone-volume billing rows.
hour True only when every relevant standalone volume has a contiguous durable ledger prefix through window.to.
Conservative organization-wide standalone-volume ledger watermark, capped to the requested window.