> ## 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 & Usage

> Manage billing and usage.

[Browse GraphQL domains](https://veryfront.com/docs/cloud/graphql.md).

## Queries

| Operation | Description |
| - | - |
| [`accountUsageLimits`](https://veryfront.com/docs/cloud/graphql/operations/billing-and-usage-api/queries/accountusagelimits) | Get account usage limits. |
| [`accountUsageWarnings`](https://veryfront.com/docs/cloud/graphql/operations/billing-and-usage-api/queries/accountusagewarnings) | Get account usage warnings. |
| [`aiBudget`](https://veryfront.com/docs/cloud/graphql/operations/billing-and-usage-api/queries/aibudget) | Get a budget named inside an input object. |
| [`aiBudgets`](https://veryfront.com/docs/cloud/graphql/operations/billing-and-usage-api/queries/aibudgets) | List budgets with the page cursors of the REST listing. |
| [`billingDetails`](https://veryfront.com/docs/cloud/graphql/operations/billing-and-usage-api/queries/billingdetails) | Read the name, email, phone, address and tax IDs that appear on the invoices of an account; returns empty details and customer\_available false before the account has a billing customer. |
| [`budget`](https://veryfront.com/docs/cloud/graphql/operations/billing-and-usage-api/queries/budget) | Get a budget and its usage for the current month. |
| [`budgets`](https://veryfront.com/docs/cloud/graphql/operations/billing-and-usage-api/queries/budgets) | List the budgets the caller may manage with their usage this month, for one project or narrowed to a member or API key. |
| [`checkUsageLimit`](https://veryfront.com/docs/cloud/graphql/operations/billing-and-usage-api/queries/checkusagelimit) | Check usage limit. |
| [`conversationAnalytics`](https://veryfront.com/docs/cloud/graphql/operations/billing-and-usage-api/queries/conversationanalytics) | Summarize the conversation activity and model use in the projects of an account, optionally for one project or label; returns totals, a daily series and recent conversations, with private titles limited to participants. |
| [`creditBalance`](https://veryfront.com/docs/cloud/graphql/operations/billing-and-usage-api/queries/creditbalance) | Read how many credits an account has left in its monthly and purchased pools, with its monthly allocation and top-up price; returns the balance. |
| [`creditPackages`](https://veryfront.com/docs/cloud/graphql/operations/billing-and-usage-api/queries/creditpackages) | List the credit packages an account can buy and their prices before starting a credit checkout; returns the whole catalogue as one page. |
| [`creditTransactions`](https://veryfront.com/docs/cloud/graphql/operations/billing-and-usage-api/queries/credittransactions) | List the credit grants, purchases, refunds and charges of an account, newest first unless sorted otherwise; returns one page of credit transactions. |
| [`creditUsage`](https://veryfront.com/docs/cloud/graphql/operations/billing-and-usage-api/queries/creditusage) | Break the credit spend of an account down by day, project and model, optionally for one project; returns the series with token counts per model. |
| [`featureGate`](https://veryfront.com/docs/cloud/graphql/operations/billing-and-usage-api/queries/featuregate) | Check whether a plan allows a feature before offering it, for the caller or for the owner of a project; returns allowed with the required tier, limit and current count, and a denied gate is a result, not an error. |
| [`invoices`](https://veryfront.com/docs/cloud/graphql/operations/billing-and-usage-api/queries/invoices) | List the issued invoices of an account, or with kind upcoming the previews and drafts of what it will be charged next; returns one page of invoices with amounts in minor currency units. |
| [`paymentMethods`](https://veryfront.com/docs/cloud/graphql/operations/billing-and-usage-api/queries/paymentmethods) | List the cards saved for an account and which one is the default; returns one page of payment methods, which are changed in the billing portal. |
| [`payments`](https://veryfront.com/docs/cloud/graphql/operations/billing-and-usage-api/queries/payments) | List the payments an account has made, with their receipt links; returns one page of payments with amounts in minor currency units. |
| [`projectCollaboration`](https://veryfront.com/docs/cloud/graphql/operations/billing-and-usage-api/queries/projectcollaboration) | Get available seats. |
| [`subscription`](https://veryfront.com/docs/cloud/graphql/operations/billing-and-usage-api/queries/subscription) | Read the plan, billing cycle, seats and add-ons of an account before changing or cancelling its subscription; returns the subscription with its seat usage. |
| [`usage`](https://veryfront.com/docs/cloud/graphql/operations/billing-and-usage-api/queries/usage) | Read what an account has used of each plan quota in the current billing period, with its tier, project count, credits spent and warnings; returns usage where a total of -1 means unlimited. |
| [`usageOverview`](https://veryfront.com/docs/cloud/graphql/operations/billing-and-usage-api/queries/usageoverview) | Get account usage overview. |
| [`usageSeries`](https://veryfront.com/docs/cloud/graphql/operations/billing-and-usage-api/queries/usageseries) | Chart one usage metric of an account by day, optionally for one project; returns the daily series with a total and a per-project breakdown. |
| [`usageSummary`](https://veryfront.com/docs/cloud/graphql/operations/billing-and-usage-api/queries/usagesummary) | Get usage summary. |
| [`usageTier`](https://veryfront.com/docs/cloud/graphql/operations/billing-and-usage-api/queries/usagetier) | Get the account usage tier with its raw limits. |
| [`usageWarnings`](https://veryfront.com/docs/cloud/graphql/operations/billing-and-usage-api/queries/usagewarnings) | Get account usage warnings as a bare list of messages. |

## Mutations

| Operation | Description |
| - | - |
| [`cancelSubscription`](https://veryfront.com/docs/cloud/graphql/operations/billing-and-usage-api/mutations/cancelsubscription) | Schedule the paid subscription of an account to end with its current billing period; returns the canceled subscription. |
| [`createAiBudget`](https://veryfront.com/docs/cloud/graphql/operations/billing-and-usage-api/mutations/createaibudget) | Create a monthly AI spending limit, with the scope and limit in one input. |
| [`createBillingPortalSession`](https://veryfront.com/docs/cloud/graphql/operations/billing-and-usage-api/mutations/createbillingportalsession) | Open a Stripe billing portal session where a person changes payment methods, tax details or the renewal of an account; returns the portal URL. |
| [`createBudget`](https://veryfront.com/docs/cloud/graphql/operations/billing-and-usage-api/mutations/createbudget) | Create a monthly AI spending limit for a project, a member on a project, an API key, or a combination of these. |
| [`createCreditCheckout`](https://veryfront.com/docs/cloud/graphql/operations/billing-and-usage-api/mutations/createcreditcheckout) | Start a Stripe checkout to buy a credit package for an account, or for the account that owns a project; returns the checkout URL. |
| [`deleteAiBudget`](https://veryfront.com/docs/cloud/graphql/operations/billing-and-usage-api/mutations/deleteaibudget) | Delete a budget named inside an input object. |
| [`deleteBudget`](https://veryfront.com/docs/cloud/graphql/operations/billing-and-usage-api/mutations/deletebudget) | Delete budget. |
| [`recordUsage`](https://veryfront.com/docs/cloud/graphql/operations/billing-and-usage-api/mutations/recordusage) | Record usage. |
| [`redeemCreditCoupon`](https://veryfront.com/docs/cloud/graphql/operations/billing-and-usage-api/mutations/redeemcreditcoupon) | Redeem a coupon code for credits on an account; returns the credits granted and the new balance, or already\_redeemed for a code the account used before. |
| [`updateAiBudget`](https://veryfront.com/docs/cloud/graphql/operations/billing-and-usage-api/mutations/updateaibudget) | Change the monthly limit of a budget named inside the input object. |
| [`updateBillingDetails`](https://veryfront.com/docs/cloud/graphql/operations/billing-and-usage-api/mutations/updatebillingdetails) | Change the name, email, phone or address on the invoices of an account, where an omitted field keeps its value and null clears it; returns the updated billing details. |
| [`updateBudget`](https://veryfront.com/docs/cloud/graphql/operations/billing-and-usage-api/mutations/updatebudget) | Change the monthly limit of a budget, keeping its scope and this month’s usage. |
| [`updateSubscription`](https://veryfront.com/docs/cloud/graphql/operations/billing-and-usage-api/mutations/updatesubscription) | Change the plan, billing cycle, seats or add-ons of an account; returns what changed, or a checkout URL when the change needs payment. |


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