HistoricalUsageRecord

HistoricalUsageRecord
HistoricalUsageRecord

Historical usage record of a metric in a specific time frame

JSON Example
{
    "usage_datetime": "2023-03-25T07:00:00.000Z",
    "commitment": 3,
    "usage": 4,
    "overage": 1,
    "resources": [
        {
            "resource_id": "res1",
            "usage_quantity": 10
        }
    ],
    "projects": [
        {
            "project_id": "proj1",
            "usage_quantity": 10,
            "commit_quantity": 5
        }
    ]
}
string
usage_datetime
Required

Timestamp when the usage occurred

number As double As double
commitment
Optional

Number of commitments made for the usage

number As double As double
usage
Required

Number of units used for the metric

number As double As double
overage
Optional

Number of units used above the committed amount

resources
Optional

Resources of a historical record

projects
Optional

Projects of a historical record