---
title: "Get API keys for entity"
method: GET
path: "/api/v1/entities/{id}/api-keys"
tags: ["entities"]
---

# Get API keys for entity

`GET /api/v1/entities/{id}/api-keys`

Retrieve all API keys for an entity (excludes secret keys)

## Path parameters

- `id` string, required

## Response `200`

List of API keys

- ApiKeyResponseDto[]
  - `id` string, required — Unique API key identifier
  - `entityId` string, required — Entity ID that owns this API key
  - `name` string, required — Human-readable name for the API key
  - `description` string — Description of the API key usage
  - `keyPrefix` string, required — API key prefix (for identification)
  - `key` string — Full API key (only returned on creation)
  - `scopes` string[], required — Scopes/permissions for the API key
  - `status` 'active' | 'revoked' | 'expired', required — API key status
  - `createdAt` string, date-time, required — API key creation timestamp
  - `expiresAt` string, date-time, nullable — API key expiration timestamp
  - `lastUsedAt` string, date-time — Last usage timestamp
  - `totalRequests` number, required — Total number of requests made with this key
  - `currentWindowRequests` number, required — Number of requests in the current rate limit window
  - `rateLimit` number, required — Rate limit for this API key (requests per hour)
  - `isActive` boolean, required — Whether API key is currently active and valid
  - `hasExpired` boolean, required — Whether API key has expired
  - `isNearRateLimit` boolean, required — Whether API key is approaching rate limit
  - `daysUntilExpiration` number, nullable, required — Days until expiration (null if no expiration)

## Other responses

- `403` — Not authorized to view API keys for this entity
- `404` — Entity not found

---

[API](https://skmtc.dev/manifoldfinance/apis/eigenlayer-public-api-specification.md) · [All operations](https://skmtc.dev/manifoldfinance/apis/eigenlayer-public-api-specification/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/manifoldfinance/eigenlayer-public-api-specification/revisions/068b24703dfe/schema)
