get usage

Get aggregate usage for the authenticated customer over a requested time period. The API resolves the account subscription and usage meter from the authenticated account. Do not provide customer ids, subscription ids, or meter ids. `startTime` is inclusive, `endTime` is exclusive, and both timestamps must be RFC3339 values aligned to minute boundaries. Timestamps are normalized to UTC. `endTime` cannot be in the future, windows longer than 366 days are rejected, and `usageAsOf` reflects the latest usage summary available to GroundX.

Authentication

X-API-Keystring
API Key authentication via header

Query parameters

metricenumRequired
Supported usage metric to query.
Allowed values:
startTimestringRequiredformat: "date-time"
Inclusive RFC3339 window start. Must be aligned to a minute boundary.
endTimestringRequiredformat: "date-time"
Exclusive RFC3339 window end. Must be aligned to a minute boundary and cannot be in the future.

Response

Usage query success
customerobject

Errors

400
Bad Request Error
404
Not Found Error