ListApiKeysResponseDTO
Package: @nauth-toolkit/core
Type: DTO (Response)
Response for listing API keys — a sanitized array of the user's keys.
- NestJS
- Express
- Fastify
import { ListApiKeysResponseDTO } from '@nauth-toolkit/nestjs';
import { ListApiKeysResponseDTO } from '@nauth-toolkit/core';
import { ListApiKeysResponseDTO } from '@nauth-toolkit/core';
Properties
| Property | Type | Required | Description with validation inline |
|---|---|---|---|
apiKeys | ApiKeyResponseDTO[] | Yes | The user's API keys (never includes secrets). |
Example
{
"apiKeys": [
{ "keyId": "550e8400-...", "name": "CI", "isActive": true, "usageCount": 12 }
]
}