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

# Usage, keys and projects

> Usage and billing, budget alerts, API keys, projects and the audit trail in the customer portal.

## Usage & Billing

## See what you have used

**Where:** Usage & Billing

| Control or card | Shows |
| - | - |
| **Project** | A selector: **All Projects** or one project |
| **1d, 7d, 30d, 90d** | The period. Default 30d |
| **Export** | Downloads the usage data |
| **Total Spend** | Spend, against the cost quota set for you ("unlimited" if none) |
| **Total tokens** | Tokens used, against your token quota |
| **Total requests** | Requests this billing period |
| **Current Plan** | Your plan |
| **Voice usage** | Spend, audio minutes, characters and calls, and realtime sessions, realtime tokens and realtime spend |
| **Total Spend chart** | Daily spend, with the number of days that had usage |

## Get warned before you run out

**Where:** Usage & Billing → Billing Alerts → Add Alert

| Field | What to enter | Rules and defaults |
| - | - | - |
| **Alert Name** | A name for the alert | Required. Must not start with 0 and must differ from your other alert names (`An alert with this name already exists`) |
| **Alert Type** | **Cost Usage Alert** or **Token Usage Alert** | Cost: notify when spending reaches the threshold. Token: notify when token use reaches it |
| **Threshold (%)** | A percentage of your quota | Required. 1 to 100 (`Threshold must be between 1 and 100`) |

Click **Create Alert**; you see **Billing alert created successfully**. Each alert in the list shows its type and **triggers at N%**, when it was last triggered, an on/off switch and a delete button.

## API Keys

## Create an API key

**Where:** API Keys → Create New Key

| Field | What to enter | Rules and defaults |
| - | - | - |
| **Credential Name** | A name you will recognise | Required. Cannot be blank |
| **Project** | The project the key can use | Required |
| **Set Expiry** | **30 days**, **60 days**, **90 days** or **Never** | Required |

1. Click **Create**. The drawer says **API Key Created Successfully!** and shows the key with a copy button. Copy it somewhere safe. You can view it again later from the key list.
2. The list shows **Credential name**, **Project Name**, **Date of Expiry**, **Created** and **Last Used**. Search by name. **Revoke** on a row removes an active key (**API key revoked successfully**).
3. Click a row to open its details. Use the key reveal to show it, and **More actions** to **Edit** or delete it. Edit changes **API Key Name**, **Project** and **Set Expiry** (**Never**, 30, 60 or 90 days). Delete asks **Are you sure you want to delete this API key?**

## Projects

## Create and manage projects

**Where:** Projects → Project

| Field | What to enter | Rules and defaults |
| - | - | - |
| **Project name** | Placeholder `Enter Project Name` | Required |
| **Tags** | Keywords to help you find the project, for example `Data Science`, `Banking` | Required: `Please add tags to categorize the project.` |
| **Description** | A short pitch for the project | Required: `Provide a brief description about the project.` |

Click **Create Project**. Cards have **Edit** and **Delete** in their menu, and search by name. A project's details show the created date, tags, API key count and the keys it has. You cannot delete a project that has active resources: the console says `You're not allowed to delete "<name>"` and asks you to pause or delete them first.

## Review your audit trail

**Where:** Audit

Three cards sit at the top: **Today's Events**, **Failed Actions** and **Resources Modified**. Under **Audit Trail** the table shows **Time**, **Action**, **Resource**, **IP Address** and **Status** (**Success** or **Failed**).

| Filter | Options |
| - | - |
| **Search by resources** | Free text |
| **Action** | **Created**, **Updated**, **Deleted**, **Accessed**, **Exported**, **Logged In**, **Logged Out**, **Regenerated**, **Login Failed** |
| **Resource** | API KEY, PROJECT, USER, SESSION |
| **Date Range** | Start Date to End Date |

**Clear Filters** resets them. **Export CSV** downloads what you see. Audit records are hash-chained, so any change to them can be detected.


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