> ## Documentation Index
> Fetch the complete documentation index at: https://veryfront.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# 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.

`budgets(input: BudgetListInput): BudgetPage!`

## Arguments

| Argument | Type | Required |
| - | - | - |
| `input` | [`BudgetListInput`](https://veryfront.com/docs/cloud/graphql/types/budgetlistinput) | No |

## Input fields

### input

[`BudgetListInput`](https://veryfront.com/docs/cloud/graphql/types/budgetlistinput)

| Field | Type | Required | Description |
| - | - | - | - |
| `projectReference` | [`String`](https://veryfront.com/docs/cloud/graphql/types/string) | No | |
| `userId` | [`ID`](https://veryfront.com/docs/cloud/graphql/types/id) | No | |
| `apiKeyId` | [`ID`](https://veryfront.com/docs/cloud/graphql/types/id) | No | |
| `cursor` | [`String`](https://veryfront.com/docs/cloud/graphql/types/string) | No | |
| `limit` | [`Int`](https://veryfront.com/docs/cloud/graphql/types/int) | No | Page size, 1 to 100. Default 20. |

## Response

Returns [`BudgetPage!`](https://veryfront.com/docs/cloud/graphql/types/budgetpage). Open the type for its fields and nested types.

| Field | Type |
| - | - |
| `data` | [`[Budget!]!`](https://veryfront.com/docs/cloud/graphql/types/budget) |
| `pageInfo` | [`PageInfo!`](https://veryfront.com/docs/cloud/graphql/types/pageinfo) |

Types marked with `!` cannot be null. Lists use `[Type]` notation. The [type index](https://veryfront.com/docs/cloud/graphql/schema.md) lists all published input and response types.

## Example

```graphql title="query.graphql" theme={null}
query Budgets($input: BudgetListInput) {
  budgets(input: $input) {
    data {
      id
      createdAt
      updatedAt
      monthlyLimitCredits
      monthlyLimitUsd
    }
    pageInfo {
      hasNextPage
      endCursor
      hasPreviousPage
      startCursor
    }
  }
}
```

```json title="variables.json" theme={null}
{}
```

<details>
  <summary>Try this query</summary>

  Calls use `https://api.veryfront.com/graphql`. Replace sample values with resources you can access. See [Authentication](https://veryfront.com/docs/cloud/authentication.md) for credentials and permissions.

  Bearer token or API key

  Stored in this tab's session. Clear credential

  Query

  Variables (JSON)
</details>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.