Type Alias: CreateApiKey
Properties
| Property | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Human-readable name for the key (example: "Aiba Webhook") |
scopes | string[] | Yes | Scopes to grant to this key (example: ["plugin-endpoints"]) |
projectId | string | No | Optional project ID to scope this key to (example: "my-project-id") |
expiresAt | string | No | Optional expiration date (ISO string) (example: "2025-12-31T23:59:59Z") |
Defined in
4Players/cortex-typescript-sdk/src/resources/api-keys.ts:9