budgets
Create spend alert or limit
type=alert sends a notification once per period when token cost reaches threshold_amount in the selected currency. type=limit holds new runs in the queue once spend reaches the threshold, until the next period or until the limit is raised, disabled or removed. scope is global (whole project), environment (environment IDs in scope_ids) or agent (agent names in scope_ids). period is monthly or daily.
Required permission: budgets.manage.
post/v1/projects/{project_id}/budgets/alerts
Request
- Base URL: https://api.connic.co
- URL: https://api.connic.co/v1/projects/{project_id}/budgets/alerts
- Auth: HTTP bearer
Path parameters
project_idstring uuid required
ID of the project the API key belongs to.
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 2 revisions of this API.