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

# Billing and Usage API

> Manage subscriptions, payments, credits, budgets, and usage.

For API groups, see [Billing and Usage API](/docs/cloud/apis/billing-and-usage).

## Queries

| Operation | Description |
| - | - |
| [`checkUsageLimit`](/docs/cloud/graphql/operations/billing-and-usage-api/queries/checkusagelimit) | Checks whether the requested usage is allowed by the selected resource limit. |
| [`subscription`](/docs/cloud/graphql/operations/billing-and-usage-api/queries/subscription) | Get current user's subscription |
| [`usageOverview`](/docs/cloud/graphql/operations/billing-and-usage-api/queries/usageoverview) | Returns a usage overview for the selected billing scope. |
| [`usageSummary`](/docs/cloud/graphql/operations/billing-and-usage-api/queries/usagesummary) | Returns a summary of recorded usage. |
| [`usageTier`](/docs/cloud/graphql/operations/billing-and-usage-api/queries/usagetier) | Returns the applicable subscription or usage tier. |
| [`usageWarnings`](/docs/cloud/graphql/operations/billing-and-usage-api/queries/usagewarnings) | Returns usage and quota warnings. |

## Mutations

| Operation | Description |
| - | - |
| [`cancelSubscription`](/docs/cloud/graphql/operations/billing-and-usage-api/mutations/cancelsubscription) | Cancel subscription |
| [`createCheckoutUrl`](/docs/cloud/graphql/operations/billing-and-usage-api/mutations/createcheckouturl) | Create a Stripe checkout session URL for subscription purchase |
| [`manageSubscription`](/docs/cloud/graphql/operations/billing-and-usage-api/mutations/managesubscription) | Create a one-use billing portal redirect for the authenticated account owner. |
| [`recordUsage`](/docs/cloud/graphql/operations/billing-and-usage-api/mutations/recordusage) | Records usage for the supplied resource and scope. |
| [`upgradeSubscription`](/docs/cloud/graphql/operations/billing-and-usage-api/mutations/upgradesubscription) | Upgrade subscription |


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