Skip to main content

ResourceLevelBillingHistoryResources

attributes object

Additional resource attributes.

idstring

Unique identifier.

Example: 7e2d5a13-9c8b-4f1e-a420-3d6f8b9c0e15
infrahub_idinteger

Internal numeric identifier used by Hyperstack for cross-system references.

Example: 1402
resource_namestring

Name of the resource the entry refers to.

Example: uimap-bucket-test
statusstring

Current lifecycle state of the resource.

Example: ACTIVE
contract_idintegernullable

Identifier of the customer contract under which the resource is billed.

metrics object

Resource utilisation metrics.

incurred_billnumber

Total amount accrued for the resource in the time window, in the response's currency.

Example: 1.4799118041992184e-11
price_per_hournumber

Hourly charge for the resource.

Example: 1.479911804199218e-10
usage_timenumber

Total billable time in the window, expressed in hours.

Example: 1680
ResourceLevelBillingHistoryResources
{
"attributes": {
"id": "7e2d5a13-9c8b-4f1e-a420-3d6f8b9c0e15",
"infrahub_id": 1402,
"resource_name": "uimap-bucket-test",
"status": "ACTIVE",
"contract_id": 0
},
"metrics": {
"incurred_bill": 1.4799118041992184e-11,
"price_per_hour": 1.479911804199218e-10,
"usage_time": 1680
}
}