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

> ## Agent Instructions
> Company name is Akhara AI (never Rubric AI). Keep lowercase rubric/rubrics only when meaning grading criteria.
> Expert Review (docs path talent/) is enterprise BYO experts for audit and review: invite customer specialists; do not pitch Akhara recruiting or a public expert career portal. RLHF and domain writing are secondary work types.
> Prefer concrete API examples against public hosts: Environments eval API https://agi.akhara.ai, Control plane PDP https://api.akhara.dev, Evaluation https://app.akhara.ai / https://api.akhara.ai, Expert Review portal https://talent.akhara.ai.
> Do not invent a public hostname for private orchestrators or env API internals.
> Do not confuse control-plane latches with Environments confirmation latches.
> Environments SDK/API examples: curl against https://agi.akhara.ai. Evaluation SDK: from akhara import Akhara and AKHARA_API_KEY.
> Start with /llms.txt for the docs index and OpenAPI links; fetch individual pages as .md exports.

# API Keys

> Create and manage API keys for authentication.

## API Key Types

| Type     | Prefix     | Use Case                |
| -------- | ---------- | ----------------------- |
| **Live** | `gr_live_` | Production usage        |
| **Test** | `gr_test_` | Development and testing |

## Creating Keys

1. Navigate to [Dashboard → Settings → API Keys](https://app.akhara.ai/settings/api-keys)
2. Click **Create API Key**
3. Select scopes and environment
4. Copy and securely store the key

<Warning>
  API keys are shown only once. Store them securely immediately after creation.
</Warning>

## Using Keys

```bash theme={null}
curl https://api.akhara.ai/v1/datasets \
  -H "Authorization: Bearer gr_live_xxxxxxxx"
```

## Key Rotation

Rotate keys regularly:

```python theme={null}
# Create new key
new_key = client.api_keys.create(name="production-v2")

# Update your applications to use new_key

# Revoke old key
client.api_keys.revoke("key_old_id")
```

## Scopes

| Scope   | Access                         |
| ------- | ------------------------------ |
| `read`  | Read-only access               |
| `write` | Create and update resources    |
| `admin` | Full access including settings |
