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

# Management API Overview

> Manage routers, keys, credentials, evals, organizations, and activity over HTTP.

The management API at `https://api.dari.dev` backs the `dari` CLI. Every CLI command is a thin wrapper over one HTTP endpoint, so pipelines can use either interface.

## Authentication

Send a Management key as a bearer token:

```bash theme={null}
export DARI_API_KEY="dari_..."
```

```bash theme={null}
curl -sS https://api.dari.dev/v1/organizations/current/routing/activity/overview?from=...&to=... \
  -H "Authorization: Bearer $DARI_API_KEY"
```

Routing keys cannot read management endpoints.

## Organization Scoping

Management paths are scoped to one organization:

* `current` — the organization for the credential.
* An explicit `org_...` ID — requires a browser login session with access to that organization. Management keys cannot switch organizations.

## Endpoint Areas

Every path below is relative to `https://api.dari.dev`:

| Area                                                | Base path                                         | CLI                |
| --------------------------------------------------- | ------------------------------------------------- | ------------------ |
| Routers                                             | `/v1/organizations/{org}/routers`                 | `dari router`      |
| API keys                                            | `/v1/organizations/{org}/api-keys`                | `dari api-keys`    |
| Credentials                                         | `/v1/organizations/{org}/credentials`             | `dari credentials` |
| Evals                                               | `/v1/organizations/{org}/evals`                   | `dari eval`        |
| Members & invitations                               | `/v1/organizations/{org}/members`, `/invitations` | `dari org`         |
| [Routing activity](/api-reference/managed/activity) | `/v1/organizations/{org}/routing/activity`        | `dari activity`    |

[Routing activity](/api-reference/managed/activity) is the read-only telemetry surface: overview, models, people, conversations, tools, and skills.
