Get an AI provider key by ID
Retrieves an AI provider key by ID from the workspace
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The workspace the key belongs to.
"workspace_01HXKD2E5NQM3T9AYWCF133E3Q"
The key to retrieve.
"aipk_01HXKD2E5NQM3T9AYWCFQ41VW3"
Query Parameters
When true, populate info (model counts, promotional status, model management), at the cost of extra lookups.
Response
OK
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.