Skip to main content

Type Alias: CreateApiKeyResponse

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

Properties

PropertyTypeRequiredDescription
idstringYesUnique identifier
namestringYesKey name
projectIdstringNoProject ID this key is scoped to (null = all projects)
keyPrefixstringYesFirst characters of the key for identification (example: "ots_live_abc1...")
scopesstring[]YesScopes this key has access to
lastUsedAtstringNoWhen the key was last used
expiresAtstringNoExpiration date
createdAtstringYesCreation date
keystringYesFull API key - shown only once at creation!

Defined in

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