post
https://api.toqan.ai/admin-api/v1/billing/spaces/direct/budgets/set
Give an Agent its own budget and move it to the production tier.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
The budget must be at least $1. Setting a budget moves the Agent to production and applies the change to its API keys and scheduled tasks. Returns 204 with no body. Call Get an Agent budget for the new state. Returns 404 when the Agent does not exist in your tenant.
spaces in the path and space_id / space_name in JSON refer to the Agent.
This endpoint requires an enterprise admin token. See Enterprise Admin API for authentication and User budget model for budget precedence.
204Agent budget updated. No body is returned.