Skip to content

SpendCapStatus

View as Markdown
Field Type Description
cap_id * string
scope workspace, project, environment
amount * Money
used_percent * number
forecast_percent number
state * ok, warning, reached
on_cap OnCapAction

* always present

{
"cap_id": "string",
"scope": "workspace",
"amount": {
"amount": "7.42",
"currency": "GBP",
"display": "£7.42"
},
"used_percent": 0.5,
"forecast_percent": 0.5,
"state": "ok",
"on_cap": "sleep_non_production"
}