Skip to main content

Type Alias: ApiKeyScopeInfo

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

Properties​

PropertyTypeRequiredDescription
scopeunknownYesThe scope string stored on the key
product"cortex" | "fleet"YesThe 4Players product the scope belongs to
familystringYesStable identifier of the resource family, for grouping (example: "sanctions")
familyLabelstringYesDisplay name of the family (example: "Sanctions")
labelstringYesDisplay name of the scope within its family (example: "Read only")
descriptionstringYesWhat the scope grants, including the events it receives on the SSE streams
access"full" | "read" | "capability"Yesfull = read and write of the family; read = its read routes only; capability = one narrow capability the family scope does not include. A family with full and read offers a single None / Read / Read & write choice.
sensitivebooleanYesThe scope acts on players or on how the project authenticates. Presets never include it; UIs should ask for it explicitly and warn.

One scope with the metadata a UI needs to render it (family, label, access kind, sensitivity).

Defined in​

odin-transcription-service/packages/cortex-typescript-sdk/src/resources/api-keys.ts:18