Skip to main content

Type Alias: CreateApiKey

type CreateApiKey: components["schemas"]["CreateApiKey"];

Properties

PropertyTypeRequiredDescription
namestringYesHuman-readable name for the key (example: "Aiba Webhook")
scopesstring[]YesScopes to grant to this key (example: ["plugin-endpoints"])
projectIdstringNoOptional project ID to scope this key to (example: "my-project-id")
expiresAtstringNoOptional expiration date (ISO string) (example: "2025-12-31T23:59:59Z")

Defined in

4Players/cortex-typescript-sdk/src/resources/api-keys.ts:9