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

# Portal

The AmberTrace portal is your central hub for monitoring LLM API usage, debugging issues, and managing your account.

### Dashboard

The dashboard provides a high-level overview of your LLM usage across all providers.

<img src="https://mintcdn.com/ambertrace/yQ12ead1cUqIPkv9/images/image-3.png?fit=max&auto=format&n=yQ12ead1cUqIPkv9&q=85&s=217cd51c2a91a603643e495a53304a93" alt="Image" width="2872" height="968" data-path="images/image-3.png" />

### Traces

The Traces page allows you to view and analyze individual LLM API calls.

<img src="https://mintcdn.com/ambertrace/yQ12ead1cUqIPkv9/images/image-4.png?fit=max&auto=format&n=yQ12ead1cUqIPkv9&q=85&s=344c0bb32f3f73b9866502a1a67cc3ea" alt="Image" width="2844" height="1332" data-path="images/image-4.png" />

Filter traces by:

* **Provider** — Show only OpenAI, Anthropic, Google, or all
* **Model** — Filter to a specific model
* **Status** — Show only successful calls, only errors, or all

<Tip>
  An active filter count badge appears on the filter button. Use "Clear filters" to reset all filters at once.
</Tip>

**Trace Detail**

Click any trace row to open the detail panel showing:

* **Metadata** — Provider, model, status, duration, token breakdown, timestamp
* **Request** — Full JSON request payload including messages and parameters
* **Response** — Full JSON response from the LLM (successful calls)
* **Error** — Error details with type, message, and code (failed calls)

### API Keys

Manage the keys used to authenticate your SDK with the AmberTrace backend.

<img src="https://mintcdn.com/ambertrace/eenZ9WDGUxy2xwEc/images/image-2.png?fit=max&auto=format&n=eenZ9WDGUxy2xwEc&q=85&s=94363bf00f8799304755d741c2be6a71" alt="Image" width="2838" height="1324" data-path="images/image-2.png" />

**Generating a Key**

1. Click **Generate Key**
2. Enter a name (e.g., "Production Server")
3. Set expiration in days (default: 365)
4. Click **Generate**

<Note>
  Copy your API key immediately after it is generated. You will not be able to see the full key again — only the prefix (e.g., `at_abc123...`) will be visible.
</Note>

**Managing Keys**

Each key displays:

* **Name** — The label you assigned
* **Key prefix** — First characters of the key (masked)
* **Created** — When the key was generated
* **Expires** — Expiration date (if set)
* **Last used** — When the key was last used

You can **copy** the key prefix or **revoke** a key. Revoking is permanent — revoked keys cannot be used for authentication.
