History

Retrieve a Usage record

Retrieve a single Usage record by its usageRecordId. One metered event with its quantity, settlement point, operation, and priced amount. Usage records roll up into the period statement.

get/v1/usage-records/{usageRecordId}

Request

  • Base URL: https://hyperscale0.ai
  • URL: https://hyperscale0.ai/v1/usage-records/{usageRecordId}
  • Auth: one of:
    • HTTP bearer
    • HTTP bearer

Path parameters

usageRecordIdstring required

Query parameters

productIdstring

Hyperscale product ID

Headers

X-Hyperscale-Environment'sandbox' | 'live'

Response

Success

usageRecordIdstring required

Hyperscale usage record ID

tenantIdstring required

Organization tenant ID

meterstring required
quantitystring
unitPricestring

Non-negative minor-unit integer amount serialized as a string (at most 18 digits)

amountstring required

Non-negative minor-unit integer amount serialized as a string (at most 18 digits)

currencystring required
previewAmountstring

Non-negative minor-unit integer amount serialized as a string (at most 18 digits)

operationNamestring
operationIdstring

Hyperscale operation ID

sourceEventIdstring
sourceOperationIdstring
productIdstring

Hyperscale product ID

settledAt'execution' | 'invoice' required
createdAtstring date-time

Changes

No recorded changes to this operation across all 1 revision of this API.