Skip to main content

ResourceLevelClusterBillingHistoryResponseModel

statusboolean

Whether the request succeeded.

Example: false
messagestring

Human-readable description of the result.

Example: No cluster data found for 2026-05-01T00:00:00 - 2026-05-07T15:34:01
billing_history_cluster object
org_idinteger

Identifier of the organization that owns the resource.

Example: 7613
billing_history object[]

Billing history entries for the resource.

  • Array [
  • 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
  • ]
  • total_countinteger

    Total number of items across all pages of this result set.

    Example: 1
    pagination object

    Pagination metadata: current page, page size, and total count.

    per_pageinteger

    Number of results per page.

    Example: 10
    pageinteger

    1-indexed page number of the current result set.

    Example: 1
    pagesinteger
    Example: 1
    ResourceLevelClusterBillingHistoryResponseModel
    {
    "status": false,
    "message": "No cluster data found for 2026-05-01T00:00:00 - 2026-05-07T15:34:01 ",
    "billing_history_cluster": {
    "org_id": 7613,
    "billing_history": [
    {
    "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
    }
    }
    ],
    "total_count": 1,
    "pagination": {
    "per_page": 10,
    "page": 1,
    "pages": 1
    }
    }
    }