Update a spend-cap
PUT /spend-caps/{id}
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”DocumentId
Request Body required
Section titled “Request Body required ”object
object
Alert threshold in EUR — sends notification when current_period_spend crosses this value.
Hard block threshold in EUR — blocks non-safety-critical actions when current_period_spend + estimated_cost exceeds this value.
Accumulated spend for the current billing period in EUR. Reset monthly by cron.
Start of the current billing period (UTC).
End of the current billing period (UTC).
Whether spend-cap enforcement is active for this organisation.
Timestamp of last soft-cap alert notification — used for 1h deduplication.
Comma-separated list of email addresses to notify when soft cap is reached.
Number of times a safety-critical action bypassed the hard cap. Incrementing for audit trail — safety actions must never be blocked.
Responses
Section titled “ Responses ”Updated
object
object
Alert threshold in EUR — sends notification when current_period_spend crosses this value.
Hard block threshold in EUR — blocks non-safety-critical actions when current_period_spend + estimated_cost exceeds this value.
Accumulated spend for the current billing period in EUR. Reset monthly by cron.
Start of the current billing period (UTC).
End of the current billing period (UTC).
Whether spend-cap enforcement is active for this organisation.
Timestamp of last soft-cap alert notification — used for 1h deduplication.
Comma-separated list of email addresses to notify when soft cap is reached.
Number of times a safety-critical action bypassed the hard cap. Incrementing for audit trail — safety actions must never be blocked.
Validation error
Missing or invalid authentication
Not authorized (tenant scope or capability)
Not found