# Administration
URL: https://docs.munito.ai/administration

The Admin API reads your organization. It does not change anything.
Use it for a dashboard, a report, or a check in your own tools.
To ask about the same data in an AI assistant, connect the [MCP server](https://docs.munito.ai/mcp).

```text
https://api.munito.ai/admin/v1
```

## Create a key [#create-a-key]

1. Open [API keys in the console](https://console.munito.ai/keys) and select **Create API key**.
2. Select **Read account data (Admin API)**. Only owners and admins can select it.
3. Copy the key once, and keep it on your server.

A key for the Admin API does not need **Inference**. Use one key for each job, so that a reporting key cannot spend.

```bash
curl "https://api.munito.ai/admin/v1/usage?range=7d&group_by=model" \
  -H "Authorization: Bearer $MUNITO_ADMIN_KEY"
```

The API also accepts the key in the `X-API-Key` header.

## Endpoints [#endpoints]

| Endpoint                                              | Returns                                                           |
| ----------------------------------------------------- | ----------------------------------------------------------------- |
| [`GET /organization`](https://docs.munito.ai/api/getOrganization) | The organization, its status and its data region.                 |
| [`GET /users`](https://docs.munito.ai/api/listUsers)              | The members and their roles.                                      |
| [`GET /api_keys`](https://docs.munito.ai/api/listApiKeys)         | The API keys and their permissions. Secrets are never returned.   |
| [`GET /api_keys/{key_id}`](https://docs.munito.ai/api/getApiKey)  | One API key.                                                      |
| [`GET /usage`](https://docs.munito.ai/api/getUsage)               | Requests, tokens, pages, errors and cost, by model or by API key. |
| [`GET /limits`](https://docs.munito.ai/api/getSpendLimits)        | Spend of today and of this month against your spend limits.       |
| [`GET /models`](https://docs.munito.ai/api/listAvailableModels)   | The models that your organization can use.                        |

## Errors [#errors]

- **`401`**: the key is missing or not valid.
- **`403`**: the key does not hold `admin:read`, or the account is not active.
- **`429`**: one key sent more than 120 requests in a minute. Retry after the time in `Retry-After`.