API reference
CAIN Budget API
13 operations under /fabric/budgets
Last reviewed 2026-10-03
Base URL https://cainstudio.online. Every call carries your key in the X-API-Key header; a free key comes from sign-up, and agent keys from the console. A key only ever sees its own tenant. A call the platform cannot decide is refused, never allowed: timeouts, outages and unknown verdicts do not become ALLOW.
| Method | Path | What it does |
|---|---|---|
| GET | /fabric/budgets | List Budgets |
| POST | /fabric/budgets | Create Budget |
| POST | /fabric/budgets/evaluate | Evaluate Budget |
| GET | /fabric/budgets/health | Budget Health |
| GET | /fabric/budgets/{budget_id} | Get Budget |
| PATCH | /fabric/budgets/{budget_id} | Update Budget |
| POST | /fabric/budgets/{budget_id}/commit/{reservation_id} | Commit Reservation |
| POST | /fabric/budgets/{budget_id}/freeze | Freeze Budget |
| POST | /fabric/budgets/{budget_id}/release/{reservation_id} | Release Reservation |
| POST | /fabric/budgets/{budget_id}/reserve | Reserve Budget |
| GET | /fabric/budgets/{budget_id}/transactions | List Transactions |
| POST | /fabric/budgets/{budget_id}/unfreeze | Unfreeze Budget |
| GET | /fabric/budgets/{budget_id}/usage | Get Budget Usage |
Products built on these calls
- CAIN Budget — Spending limits for agents, so a runaway loop cannot burn your money.
Try CAIN-42 on your own agents
Create a free account and every new account starts with a 7-day trial of the full platform. Or try the sandbox first, with no account at all.
Create a free account → · Try the sandbox · See the whole ecosystem