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

# GET /api/api-keys — list your API keys

> Return metadata for every API key on the account. The full bfvk secret is never returned after creation; only the prefix and usage stats appear.

Return metadata for every API key on the account. The full `bfvk-` secret is never returned after the initial `POST /api/api-keys` response; only the `prefix` and usage stats appear here.

**Method:** `GET` **Path:** `/api/api-keys` **Auth:** Session Bearer

## Response

Array of key metadata.

<ResponseField name="id" type="string">
  Stable key identifier.
</ResponseField>

<ResponseField name="name" type="string">
  Human-readable name.
</ResponseField>

<ResponseField name="prefix" type="string">
  First few characters of the key (for example `bfvk-XXXX`).
</ResponseField>

<ResponseField name="created_at" type="string">
  ISO 8601 timestamp.
</ResponseField>

<ResponseField name="last_used_at" type="string">
  ISO 8601 timestamp or `null` if never used.
</ResponseField>

## Example

```bash theme={null}
curl -H "Authorization: Bearer eyJhbGciOi..." \
  https://ariacompute.com/api/api-keys
```

```json theme={null}
[
  {
    "id": "key_01H...",
    "name": "production",
    "prefix": "bfvk-4z9C",
    "created_at": "2026-08-01T10:00:00Z",
    "last_used_at": "2026-09-23T09:12:04Z"
  }
]
```

## Errors

| Status | Meaning                           |
| ------ | --------------------------------- |
| `401`  | Missing or invalid session token. |


## Related topics

- [API keys for gateway and model access](/concepts/api-keys.md)
- [POST /api/api-keys — create a new API key](/api-reference/api-keys/create.md)
- [Create, rotate, and revoke your API keys](/guides/manage-api-keys.md)
- [DELETE /api/api-keys/{id} — revoke an API key](/api-reference/api-keys/delete.md)
- [Authenticate requests to the Aria Compute API](/authentication.md)
