AI agent spending limits & approvals
You set the limits.
Every API key carries its own limits: what it may spend, which brands or clients it may touch, and when a person has to say yes. Checked on our side, on every call, and logged.
Ledgerly growth agent
- Monthly cap
- $2,000
- Max per order
- $1,500
- Waits for your approval above
- $1,000
- Permissions
- read, track, book
- Workspaces
- ws_ledgerly
How limits work
Limits live on each API key. Owners and Admins set them when they create the key in Settings → Developers, and can edit them any time. Agents can read their own limits with GET /balance or the get_balance tool, but can never change them. The same key works for the REST API and the MCP server.
Every booking is checked in this order. The first rule that fails decides the answer:
book(quote_id) →
1. key has the book scope? → 403 forbidden
2. workspace allowed for this key? → 403 forbidden
3. total > max per order? → 422 over_order_cap
4. spent this month + total > cap? → 422 over_monthly_cap
5. balance covers the total? → 402 insufficient_balance
6. total > "ask me above" amount? → 202 pending_approval
7. otherwise → 201 awaiting_publisher (money reserved)Amounts compare the order total (publisher price + fee), in USD cents. The monthly cap counts bookings and paid tracked questions added by the key, per calendar month (UTC). Orders waiting for approval count too, so an agent can't queue more than the cap. The brand or client's own monthly limit also applies (over_workspace_limit).
Key settings
| Setting | Type | Meaning |
|---|---|---|
Mode | test | live | Test keys use $1,000 of test funds and simulated publishers; nothing is charged. Live keys need a confirmed email. |
Permissions | read · track · book | What the key may do. book covers quote, book and cancel. |
Workspaces | all | list | Which brands or clients it can see and spend for. The first one is its default. |
Max per order | cents | Ceiling for one order total (price + fee). Above it: over_order_cap. |
Monthly cap | cents | Bookings plus paid tracking added by this key, per calendar month (UTC). Above it: over_monthly_cap. |
Ask me above | cents | Orders with a total above this wait for an Owner or Admin: status pending_approval. $0 = approve every booking. |
Example key
An agency gives its growth agent one client, $2,000 a month, $1,500 per order, and wants to approve anything over $1,000. It can read, track questions and book.
{
"name": "Ledgerly growth agent",
"mode": "live",
"scopes": [
"read",
"track",
"book"
],
"workspaces": [
"ws_ledgerly"
],
"max_per_order": 150000,
"monthly_cap": 200000,
"approval_above": 100000
}Approval
When a booking total is above the key's "ask me above" amount, the order is created with status pending_approval. The money is reserved, not spent.
- Agent gets
202withstatus: pending_approvaland anapproval.approval_url. It should tell its user and stop. It is not an error. - Owners and Admins see it in the app and get the
order.pending_approvalwebhook. - A person opens the order, reviews the page, price and brief, and approves or declines in Amplevo.
- Approved → status
awaiting_publisher, webhookorder.awaiting_publisher. Declined → statusdeclined, the reserved money goes back to the balance.
pending_approval ─┬─ approved ─→ awaiting_publisher (money reserved)
└─ declined ─→ declined (money back to the balance)order.pending_approval webhook
{
"id": "evt_7Qa9Lm2Xc81Fz2Pq",
"object": "event",
"type": "order.pending_approval",
"created_at": "2026-12-09T16:02:00.000Z",
"livemode": true,
"org_id": "org_brightline",
"data": {
"object": {
"id": "ord_HxjJun1HN6qL6sqe",
"object": "order",
"status": "pending_approval",
"workspace_id": "ws_ledgerly",
"type": "listicle",
"page_url": "https://ledgerlab.co/best-accounting-software",
"amount": {
"price": 98000,
"fee": 19600,
"total": 117600,
"currency": "usd"
},
"created_by_key": "key_d1qlZYMhPXRkWe8p",
"test": false,
"updated_at": "2026-12-09T16:02:00.000Z",
"message": "Booked. Waiting for an Admin's approval."
}
}
}Wire this into your own tools if you like: post it to a team channel, open a ticket, or page someone. The approval itself always happens in Amplevo.
Agent activity
Every API or MCP call that changes something (quote, book, cancel, track, stop tracking) is logged, including denied ones. See it in Settings → Developers → Agent activity and export it as CSV.
| Column | Meaning |
|---|---|
time_utc | When it happened. |
key, key_prefix | Which API key (name and first characters). |
via | api or mcp. |
action | quote.create, order.create, order.cancel, question.create, question.delete. |
decision | allowed, needs_approval or denied. |
reason | Why it was denied (an error code such as over_monthly_cap). |
amount_usd | For spending actions. |
workspace_id, target | Where it happened and which quote, order or question. |
mode | test or live. |
{
"time_utc": "2026-12-04T20:21:00Z",
"key": "Ledgerly growth agent",
"key_prefix": "amp_live_x65M",
"via": "mcp",
"action": "order.create",
"decision": "needs_approval",
"reason": null,
"amount_usd": "1176.00",
"workspace_id": "ws_ledgerly",
"target": "ord_HxjJun1HN6qL6sqe",
"mode": "live"
}What agents can't do
Whatever the scopes, these stay with people in the app:
- Create, edit or revoke API keys, or change their limits.
- Add or change payment methods; add funds or withdraw the balance.
- Approve their own orders.
- See or change payouts or billing details.
Best practices
- One key per agent and per client. Agencies: limit each key to one client, so a mistake stays contained.
- Start low. Set "ask me above" to $0 for the first weeks, so every booking needs a click. Raise it once you trust the agent's picks.
- Give only the permissions you need. A reporting agent needs
read, notbook. - Use test keys first.
amp_test_keys run the full flow, approvals included, on $1,000 of test funds. - Add a webhook. So approvals and order updates reach you without polling.
- Read Agent activity weekly. Denied calls show where the agent wants to go next.
Next: connect the MCP server or read the POST /orders reference.
Agents spend. You decide.
Set a cap, a max per order and an approval amount. Then let your agent do the busywork.