Skip to main content

ResourceLevelClusterGraphBillingDetailsResponseModel

statusboolean

Whether the request succeeded.

messagestring

Human-readable description of the result.

billing_history_cluster_details object
org_idinteger

Identifier of the organization that owns the resource.

Example: 5341
billing_history object[]

Billing history entries for the resource.

  • Array [
  • attributes object

    Additional resource attributes.

    idstring

    Unique identifier.

    Example: 9d8a4f10-2c5d-4b14-8f5a-1e6c8e8b2d3f
    infrahub_idinteger

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

    Example: 8429
    resource_namestring

    Name of the resource the entry refers to.

    Example: example-vm
    metrics object

    Resource utilisation metrics.

    incurred_billnumber

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

    Example: 0.011612903333333001
    incurred_bill_graph object[]
  • Array [
  • datetimestring

    ISO 8601 UTC timestamp.

    Example: 2026-05-06T15:18:42Z
    valuenumber

    Value of the entry.

    Example: 0.011612903333333001
  • ]
  • ]
  • total_countinteger

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

    Example: 0
    granularityinteger

    Time bucket size, in seconds, for the data points returned.

    Example: 86400
    ResourceLevelClusterGraphBillingDetailsResponseModel
    {
    "status": true,
    "message": "string",
    "billing_history_cluster_details": {
    "org_id": 5341,
    "billing_history": [
    {
    "attributes": {
    "id": "9d8a4f10-2c5d-4b14-8f5a-1e6c8e8b2d3f",
    "infrahub_id": 8429,
    "resource_name": "example-vm"
    },
    "metrics": {
    "incurred_bill": 0.011612903333333001,
    "incurred_bill_graph": [
    {
    "datetime": "2026-05-06T15:18:42Z",
    "value": 0.011612903333333001
    }
    ]
    }
    }
    ],
    "total_count": 0,
    "granularity": 86400
    }
    }