# List budgets

Tool: `veryfront__list_budgets`

List the budgets the caller may manage with their usage this month, for one project or narrowed to a member or API key.

## Arguments

| Name                | Type                                  | Required | Description                                                                                                                                                                                 |
| ------------------- | ------------------------------------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `project_reference` | string · min length 1                 |          | Lists the budgets of one project: its own, its members’, and the keys bound to it. Requires owner or admin on that project. Omitted, the listing covers every budget the caller may manage. |
| `user_id`           | string · uuid                         |          | Narrows the listing to the budgets scoped to one person.                                                                                                                                    |
| `api_key_id`        | string · uuid                         |          | Narrows the listing to the budgets scoped to one API key.                                                                                                                                   |
| `cursor`            | string                                |          | Opaque cursor from page\_info.next. Omit it to read the first page.                                                                                                                         |
| `limit`             | number · min 1 · max 100 · default 20 |          | Maximum number of entries to return. Defaults to 20 and is capped at 100.                                                                                                                   |

## Responses

| Status | Description                                           |
| ------ | ----------------------------------------------------- |
| 200    | The tool ran; its output is result.structuredContent. |

## Call it

```bash
curl -X POST -N "https://api.veryfront.com/mcp" \
  -H "Authorization: Bearer $VERYFRONT_API_KEY" \
  -H "Accept: application/json, text/event-stream" \
  -H "Content-Type: application/json" \
  -d '{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "veryfront__list_budgets",
    "arguments": {}
  }
}'
```

## Example response

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "{\"data\":[{\"id\":\"00000000-0000-0000-0000-000000000000\",\"scope\":{\"kind\":\"api_key\",\"project_id\":\"00000000-0000-0000-0000-000000000000\",\"user_id\":\"00000000-0000-0000-0000-000000000000\",\"api_key_id\":\"00000000-0000-0000-0000-000000000000\"},\"monthly_limit_usd\":0,\"monthly_limit_credits\":0,\"status\":{\"used\":0,\"remaining\":0,\"resets_at\":\"string\"},\"created_at\":\"string\",\"updated_at\":\"string\"}],\"page_info\":{\"self\":\"string\",\"first\":null,\"next\":\"string\",\"prev\":\"string\"}}"
      }
    ],
    "structuredContent": {
      "data": [
        {
          "id": "00000000-0000-0000-0000-000000000000",
          "scope": {
            "kind": "api_key",
            "project_id": "00000000-0000-0000-0000-000000000000",
            "user_id": "00000000-0000-0000-0000-000000000000",
            "api_key_id": "00000000-0000-0000-0000-000000000000"
          },
          "monthly_limit_usd": 0,
          "monthly_limit_credits": 0,
          "status": {
            "used": 0,
            "remaining": 0,
            "resets_at": "string"
          },
          "created_at": "string",
          "updated_at": "string"
        }
      ],
      "page_info": {
        "self": "string",
        "first": null,
        "next": "string",
        "prev": "string"
      }
    }
  }
}
```
