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

# API keys API

> Create, list, and revoke organization API keys

API keys let automation call Ardent without a human browser login. Create the narrowest key that can do the job, store it in a secret manager, and revoke it when it is no longer needed.

## Endpoints

| Method   | Path                                                              | Description                                    |
| -------- | ----------------------------------------------------------------- | ---------------------------------------------- |
| `GET`    | [`/v1/orgs/{org_id}/api-keys`](/api/api-keys/list)                | List API keys. Secret values are not returned  |
| `POST`   | [`/v1/orgs/{org_id}/api-keys`](/api/api-keys/create)              | Create an API key. The secret is returned once |
| `DELETE` | [`/v1/orgs/{org_id}/api-keys/{api_key_id}`](/api/api-keys/delete) | Revoke an API key                              |
