Type Alias: ApiKeyResponse
Properties
| Property | Type | Required | Description |
|---|---|---|---|
id | string | Yes | Unique identifier |
name | string | Yes | Key name |
projectId | string | No | Project ID this key is scoped to (null = all projects) |
keyPrefix | string | Yes | First characters of the key for identification (example: "ots_live_abc1...") |
scopes | string[] | Yes | Scopes this key has access to |
lastUsedAt | string | No | When the key was last used |
expiresAt | string | No | Expiration date |
createdAt | string | Yes | Creation date |
Defined in
4Players/cortex-typescript-sdk/src/resources/api-keys.ts:8