AI Provider Keys
List AI provider keys
Create a new AI provider key
Get an AI provider key by ID
Delete an AI provider key
Update an AI provider key
ModelsExpand Collapse
AIProviderKey object { metadata, spec, info }
AIProviderKey is a credential for an AI provider, scoped to a workspace. Most keys are customer-provided (BYOK); Cadenya also provisions promotional keys (see AIProviderKeyInfo.is_promotional), which cannot be modified or deleted by account administrators. The secret value is never returned in responses.
Standard metadata for persistent, named resources (e.g., agents, tools, prompts)
name: string
Human-readable name for the resource (e.g., “Customer Support Agent”, “Email Tool”) Required for resources that users interact with directly
bundleKey: optional string
Optional bundle ownership key. When set, indicates the resource is managed by a configuration bundle identified by this key. Used by BulkWorkspaceResources.Apply to track which resources belong to which bundle for reconciliation / soft-delete on re-apply.
externalId: optional string
External ID for the resource (e.g., a workflow ID from an external system)
apiKey: optional string
The provider credential. Accepted on create/update; never populated in responses (the server returns an empty value to avoid leaking it).
AIProviderKeySpec object { apiKey, openrouter, provider }
apiKey: optional string
The provider credential. Accepted on create/update; never populated in responses (the server returns an empty value to avoid leaking it).