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

# List API Keys

> Returns all non-revoked API keys for the authenticated user.

Requires the `admin` scope. Returns key metadata including the prefix (first
characters), scopes, and last-used timestamp. The full key value is never
returned after creation.

<RequestExample>
  ```bash cURL theme={null}
  curl "https://api.chatgrid.ai/v1/me/api-keys" \
    -H "Authorization: Bearer cgk_live_a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6"
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "object": "list",
    "data": [
      {
        "id": "ee112233-4455-6677-8899-aabbccddeeff",
        "key_prefix": "cgk_live_a1b2",
        "name": "Production key",
        "scopes": ["read", "write"],
        "rate_limit": 120,
        "last_used_at": "2026-03-15T12:00:00.000Z",
        "created_at": "2026-03-10T09:00:00.000Z",
        "expires_at": null
      },
      {
        "id": "ff223344-5566-7788-99aa-bbccddeeff11",
        "key_prefix": "cgk_live_c3d4",
        "name": "CI/CD Pipeline",
        "scopes": ["read"],
        "rate_limit": 60,
        "last_used_at": "2026-03-14T18:30:00.000Z",
        "created_at": "2026-03-12T14:00:00.000Z",
        "expires_at": null
      }
    ],
    "has_more": false,
    "cursor": null
  }
  ```
</ResponseExample>
