GET
/organization/projects/{project_id}/spend_limitGet the project spend limit
Retrieves a project's hard spend limit. Use project_id to identify the project whose threshold, currency, evaluation interval, and enforcement state you want to inspect.
- RetriesRetries up to 2×, 500ms backoff, 30s timeout.
project_idstringrequired
The string identifier of the project whose hard spend limit you want to retrieve.
200Returns a project spend limit object with the `project.spend_limit` object type, threshold amount in cents, currency, evaluation interval, and enforcement status.
objectstringrequired
The object type, which is always `project.spend_limit`.
threshold_amountintegerrequired
The hard spend limit amount, in cents.
currencystringrequired
The currency for the threshold amount. Currently, only `USD` is supported.
intervalstringrequired
The time interval for evaluating spend against the threshold. Currently, only `month` is supported.
enforcementobjectrequired
The current enforcement state of the hard spend limit.
Error handling
project_id must identify the project whose hard spend limit you want to retrieve. The value must be provided as a string.