Documentation Index
Fetch the complete documentation index at: https://conto.finance/docs/llms.txt
Use this file to discover all available pages before exploring further.
Budget Requests
Budget requests let an agent ask for a spending budget that a human reviews and approves in the dashboard. Once approved, spend is tracked against the approved amount across all payment types (standard, x402, MPP, card). When the budget is exhausted, further payments are blocked.Budget requests are optional. If no active budget exists for an agent, all payment flows work normally using existing spend limits and policies. When an active budget does exist, both the budget and policies must pass for a payment to go through.
How It Works
Lifecycle
A budget request moves through these states:| Status | Description |
|---|---|
PENDING | Awaiting human review. Expires 24h after creation if not acted on. |
APPROVED | Human approved. Spend is tracked. Expires at a set time (default 24h after approval). |
REJECTED | Human rejected with an optional reason. |
EXPIRED | Timed out without approval, or approved budget window elapsed. |
EXHAUSTED | Approved budget fully spent (currentSpend >= approvedAmount). |
- One active (PENDING or APPROVED) budget request per agent at a time
- Creating a new request while one is active returns
409 BUDGET_REQUEST_EXISTS
SDK API
Create a Budget Request
| Parameter | Type | Required | Description |
|---|---|---|---|
amount | number | Yes | Requested budget in USDC |
purpose | string | Yes | What this budget is for (shown to the reviewer) |
category | string | No | Spend category (e.g., API_PROVIDER, INFRASTRUCTURE) |
metadata | object | No | Arbitrary context (JSON) |
Check Budget Request Status
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | No | Specific budget request ID |
status | string | No | Filter: PENDING, APPROVED, REJECTED, EXPIRED, EXHAUSTED |
MCP Tools
request_budget
Request a spending budget for payments. Submits a request for human approval. Only one active budget request per agent at a time. Applies to all payment types.| Parameter | Type | Required | Description |
|---|---|---|---|
amount | number | Yes | Requested budget in USDC |
purpose | string | Yes | What this budget is for (shown to reviewer) |
category | string | No | Spend category (e.g., API_PROVIDER, INFRASTRUCTURE) |
metadata | object | No | Additional context |
get_budget_request
Check status and remaining balance of your budget requests. Use to poll for approval and monitor remaining budget.| Parameter | Type | Required | Description |
|---|---|---|---|
budgetRequestId | string | No | Specific request ID |
status | string | No | Filter: PENDING, APPROVED, REJECTED, EXPIRED, EXHAUSTED |
Payment Flow Integration
When an active (approved, non-expired) budget exists, every payment flow checks it automatically: Pre-execution (blocking):payments/request— checks budget before policy evaluationpayments/approve— checks budget for external wallet paymentsx402/pre-authorize— checks budget before authorizing x402 paymentsmpp/pre-authorize— checks budget before authorizing MPP payments
payments/execute— decrements budget after successful executionx402/record— decrements budget when recording x402 paymentsmpp/record— decrements budget when recording MPP payments
budgetRequest object in the response:
Dashboard
Budget requests appear in the Budgets tab on the Alerts & Approvals page. Pending requests show:- Agent name, purpose, requested amount, category
- Approve / Reject buttons
- Optional amount adjustment field (approve a different amount than requested)
- Spend progress bar (currentSpend / approvedAmount)
- Remaining balance and expiry countdown
- Whether the amount was adjusted from the original request
Approving a Request
| Parameter | Type | Required | Description |
|---|---|---|---|
decision | string | Yes | APPROVED or REJECTED |
approvedAmount | number | No | Override amount (defaults to requested amount) |
expiresInHours | number | No | Budget window in hours (default: 24) |
comment | string | No | Optional note |
Audit Trail
Every state transition creates an audit log entry:| Transition | Action | Actor |
|---|---|---|
| Agent creates request | CREATE | Agent |
| Human approves | APPROVE | User |
| Human rejects | REJECT | User |
| Spend recorded | UPDATE | Agent |
| Budget exhausted | UPDATE | System |
| Budget expired | UPDATE | System |
Example: Agent Workflow
Next Steps
Payments
Standard payment request and execution
x402 Payments
HTTP 402 micropayment handling
Spend Limits
Configure wallet spend limits
MCP Tools
Full MCP tools reference