Usage data model
View field support, webhooks, and list parameters for each integration on the Supported Integrations page.
| Field | Type | Required | Description |
|---|---|---|---|
id | string | No | Unique identifier for the usage record |
created_at | string (date-time) | No | When the usage record was created (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format) |
updated_at | string (date-time) | No | When the usage record was last updated (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format) |
start_at | string (date-time) | No | Start of the usage period (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format) |
end_at | string (date-time) | No | End of the usage period (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format) |
instance_id | string | No | The instance the usage belongs to, when per-instance |
category | enum | No | What was consumed Values: GPU, CPU, MEMORY, STORAGE, NETWORK, OTHER |
quantity | number | No | Amount consumed, in unit |
unit | enum | No | Unit of quantity Values: GPU_HOUR, VCPU_SECOND, GB_SECOND, GB_MONTH, BYTE, SECOND, OTHER |
cost_amount | number | No | Cost of the usage, when the vendor reports it |
currency | string | No | Currency of cost_amount (ISO 4217) |
Are we missing anything? Let us know