Skip to main content

ResourceLevelBillingDetailsVolume

org_idinteger

Identifier of the organization that owns the resource.

Example: 4501
billing_history object[]

Billing history entries for the resource.

  • Array [
  • attributes object

    Additional resource attributes.

    idstring

    Unique identifier.

    Example: 2c4e6a18-5d3b-4f80-93a1-7e5b9c2f1d44
    infrahub_idinteger

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

    Example: 5341
    resource_namestring

    Name of the resource the entry refers to.

    Example: example-volume
    subresource_typestring
    Example: Cloud-SSD
    subresource_amountinteger
    Example: 10
    metrics object

    Resource utilisation metrics.

    price_per_hournumber

    Hourly charge for the resource.

    Example: 0
    incurred_billnumber

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

    Example: 0
    usage_timenumber

    Total billable time in the window, expressed in hours.

    Example: 0
    non_discounted_price_per_hournumber
    Example: 0
    non_discounted_billnumber

    Bill amount before any discounts or contract pricing.

    Example: 0
  • ]
  • total_countinteger

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

    Example: 1
    ResourceLevelBillingDetailsVolume
    {
    "org_id": 4501,
    "billing_history": [
    {
    "attributes": {
    "id": "2c4e6a18-5d3b-4f80-93a1-7e5b9c2f1d44",
    "infrahub_id": 5341,
    "resource_name": "example-volume",
    "subresource_type": "Cloud-SSD",
    "subresource_amount": 10
    },
    "metrics": {
    "price_per_hour": 0,
    "incurred_bill": 0,
    "usage_time": 0,
    "non_discounted_price_per_hour": 0,
    "non_discounted_bill": 0
    }
    }
    ],
    "total_count": 1
    }