# Get budget tree

Returns the organization, team and agent budgets as a tree with limit, reserved, spent and available amounts, plus confirmed spend per day for 30 days. Console session or API key with payment:read; team-scoped roles see their team only.

`GET /v1/budgets`

Returns the organization, team and agent budgets as a tree with limit, reserved, spent and available amounts, plus confirmed spend per day for 30 days. Console session or API key with payment:read; team-scoped roles see their team only.

Requires permission `payment:read`.

## Responses

- **200**: Success.
- **401**: No valid session, API key or agent credential (UNAUTHENTICATED, AGENT_CREDENTIAL_INVALID).
- **403**: Authenticated but not allowed: missing permission, passkey step-up required, or denied by policy.

Example 200 response:

```json
{
  "tree": {
    "id": "bud_01m7dmxx4ghpmw6gcbbj5fnpf6",
    "scope_type": "org",
    "scope_id": "org_01m7dmxx43vkd5ezrghf9m2ytv",
    "asset": "USDC",
    "limit": "5000000",
    "committed": "2750000",
    "spent": "2750000",
    "reserved": "0",
    "available": "2250000",
    "pct": 55,
    "alert_80": false,
    "name": "Acme Research",
    "children": [
      {
        "id": "bud_01m7dmxx4nsddp45x0279hyhxw",
        "scope_type": "team",
        "scope_id": "team_01m7dmxx43vkd5ezrghf9m2ytx",
        "asset": "USDC",
        "limit": "3000000",
        "committed": "650000",
        "spent": "650000",
        "reserved": "0",
        "available": "2350000",
        "pct": 21.7,
        "alert_80": false,
        "name": "Ops",
        "children": [
          {
            "id": "bud_01m7dmxx7eaj23ykqzsp9w0mdx",
            "scope_type": "agent",
            "scope_id": "agt_01m7dmxx6xa5jqkh3djxbg1va9",
            "asset": "USDC",
            "limit": "2000000",
            "committed": "650000",
            "spent": "650000",
            "reserved": "0",
            "available": "1350000",
            "pct": 32.5,
            "alert_80": false,
            "name": "Procurement Agent",
            "status": "active",
            "team_id": "team_01m7dmxx43vkd5ezrghf9m2ytx",
            "children": []
          }
        ]
      },
      {
        "id": "bud_01m7dn5cybpqrfkpec205f5vbr",
        "scope_type": "team",
        "scope_id": "team_01m7dn5cy9w29ry6m6ja18pxt4",
        "asset": "USDC",
        "limit": "1000000",
        "committed": "0",
        "spent": "0",
        "reserved": "0",
        "available": "1000000",
        "pct": 0,
        "alert_80": false,
        "name": "QA Team",
        "children": []
      }
    ]
  }
}
```
