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

# List API keys

> Get all API keys for the authenticated user

This endpoint returns a list of all API keys associated with the authenticated user's account.

### Response

**api\_keys** `array`

Array of API key objects

**api\_key properties**

**id** `integer`

The unique identifier of the API key

**name** `string`

The name/label of the API key

**last\_used\_at** `string`

ISO 8601 timestamp of when the API key was last used (null if never used)

**created\_at** `string`

ISO 8601 timestamp of when the API key was created

```json 200 Response theme={null}
{
  "api_keys": [
    {
      "id": 1,
      "name": "Production API Key",
      "last_used_at": "2025-01-08T15:30:00.000000Z",
      "created_at": "2025-01-01T10:00:00.000000Z"
    },
    {
      "id": 2,
      "name": "Development API Key",
      "last_used_at": null,
      "created_at": "2025-01-05T14:20:00.000000Z"
    }
  ]
}
```

```json 200 Empty Response theme={null}
{
  "api_keys": []
}
```

> [!NOTE]
>
> For security reasons, the actual API key tokens are not returned. Only metadata about the keys is shown.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.