SpendBreakdownItem
Fields
Section titled “Fields”| Field | Type | Description |
|---|---|---|
type |
project, environment, service, database, volume |
|
id * |
string | |
name * |
string | |
environment |
string or null | |
cost * |
Money | |
share_percent |
number | |
why |
string | Plain-English annotation. |
* always present
Example
Section titled “Example”{ "type": "project", "id": "string", "name": "string", "environment": "string", "cost": { "amount": "7.42", "currency": "GBP", "display": "£7.42" }, "share_percent": 0.5, "why": "api used 0.3 vCPU and 410 MB on average"}