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

# Pagination & Filtering

> Navigate large result sets with cursor-based pagination.

## Cursor-Based Pagination

List endpoints use cursor-based pagination for consistent results:

```python theme={null}
# First request
response = client.datasets.list(limit=20)

# Get next page
if response.has_more:
    next_response = client.datasets.list(
        limit=20,
        after=response.data[-1].id
    )
```

## Parameters

| Parameter | Type    | Description                          |
| --------- | ------- | ------------------------------------ |
| `limit`   | integer | Results per page (1-100, default 20) |
| `after`   | string  | Return results after this ID         |
| `before`  | string  | Return results before this ID        |

## Response Format

```json theme={null}
{
  "object": "list",
  "data": [...],
  "has_more": true,
  "total_count": 150
}
```

## Filtering

Most list endpoints support filtering:

```bash theme={null}
GET /v1/calls?project=proj_abc&status=pending&created_after=2024-01-01
```

### Common Filters

| Filter           | Description          |
| ---------------- | -------------------- |
| `project`        | Filter by project ID |
| `status`         | Filter by status     |
| `created_after`  | Results after date   |
| `created_before` | Results before date  |

## Sorting

```bash theme={null}
GET /v1/evaluations?sort=created_at&order=desc
```

Default sort is by `created_at` descending (newest first).
