budget

Get spending caps

Returns current spending caps and remaining budget for the authenticated account. Amounts are in atomic USDC units (6 decimals). 1,000,000 = 1.00 USDC.

get/v1/budget

Request

  • Base URL: https://agentlair.dev
  • URL: https://agentlair.dev/v1/budget
  • Auth: HTTP bearer

Response

Current budget caps and status

agent_idstring
currencystring
atomic_unitstring
has_capsboolean
status'active' | 'limit_reached'
notestring

Example response

{
  "currency": "USDC",
  "atomic_unit": "1e-6 USDC (one millionth of one USDC)"
}

Changes

No recorded changes to this operation across all 1 revision of this API.