Update budget
curl -X PATCH "https://api.52-28-238-205.sslip.io/v1/budgets/{id}" \ -H "Cookie: <console session cookie>" \ -H "Content-Type: application/json" \ -d '{"limit_base_units":"50000","alert_80_enabled":true}'Changes a budget's limit or turns its 80% alert on or off. Console session or API key with budget:edit; raising a team or agent limit must fit under its parent.
https://api.52-28-238-205.sslip.ioAuthorization
sessionCookie: <console session cookie>apiKeyAuthorization: Bearer sk_test_...
Path
idstringrequiredBudget id (bud_...).
Body
application/json · required. Fields are listed under Request body below.
owner, admin, finance, operator. The caller must hold this permission, or the call is refused with 403.uapg_session<token>Console session cookie (HttpOnly, SameSite=Lax)
id*IdBudget id (bud_...).
application/json- body
limit_base_units?||Budget limit in integer base units, carried as a string.
alert_80_enabled?|Whether an alert is sent when 80% of the budget is used or reserved.
Success.
application/json- response
budget*[key: string]?anyPOSTSet budget
Creates or sets the limit of an organization, team or agent budget. Console session or API key with budget:edit; a team or agent limit must fit under its parent.
GETGet wallets
Returns the connected owner wallet with its balances, the on-chain spending permissions and the agents' spending wallets. Console session or API key with payment:read; team-scoped roles see their team's spending wallets only.