Skip to main content

ImageGenerationBillingHistoryDetailsResponseSchema

statusboolean

Whether the request succeeded.

messagestring

Human-readable description of the result.

billing_history_image_generation_details object

Detailed image-generation billing records for the requested period.

org_idinteger

Identifier of the organization that owns the resource.

billing_history object[]

Billing history entries for the resource.

  • Array [
  • attributes object

    Additional resource attributes.

    infrahub_idinteger

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

    resource_namestring

    Name of the resource the entry refers to.

    statusstring

    Current lifecycle state of the resource.

    base_modelstring

    Identifier of the base model used.

    base_model_display_namestring

    Human-readable name of the base model.

    lora_adapterstring

    Identifier of the LoRA adapter applied to the base model.

    metricsobject

    Resource utilisation metrics.

  • ]
  • total_countinteger

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

    granularityinteger

    Time bucket size, in seconds, for the data points returned. Present on the hourly-cost (graph) response; 86400 = daily buckets.

    ImageGenerationBillingHistoryDetailsResponseSchema
    {
    "status": true,
    "message": "string",
    "billing_history_image_generation_details": {
    "org_id": 0,
    "billing_history": [
    {
    "attributes": {
    "infrahub_id": 0,
    "resource_name": "string",
    "status": "string",
    "base_model": "string",
    "base_model_display_name": "string",
    "lora_adapter": "string"
    },
    "metrics": {}
    }
    ],
    "total_count": 0,
    "granularity": 0
    }
    }