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

# Error Format

> Understanding API error responses.

## Error Response Structure

```json theme={null}
{
  "error": {
    "type": "invalid_request_error",
    "code": "missing_required_field",
    "message": "The 'name' field is required",
    "param": "name",
    "request_id": "req_abc123"
  }
}
```

## Error Types

| Type                    | Description                |
| ----------------------- | -------------------------- |
| `authentication_error`  | Invalid or missing API key |
| `invalid_request_error` | Malformed request          |
| `rate_limit_error`      | Too many requests          |
| `not_found_error`       | Resource doesn't exist     |
| `server_error`          | Internal error             |

## Handling Errors

```python theme={null}
from akhara.exceptions import AkharaException, ValidationError

try:
    client.datasets.create(name="")
except ValidationError as e:
    print(f"Field: {e.param}, Message: {e.message}")
except RubricException as e:
    print(f"Error: {e.message}")
```
