Get an AI credential
Get one saved BYOK AI credential.
Authentication
AuthorizationBearer
Use Bearer <api-key>.
Path parameters
credentialId
Headers
BCTRL-Subaccount-Id
Optional effective subaccount context for organization API keys. Subaccount API keys are already scoped and cannot use this header to act as another subaccount.
Response
OK
createdAt
RFC 3339 timestamp with a UTC offset.
hasApiKey
id
name
provider
status
updatedAt
RFC 3339 timestamp with a UTC offset.
baseUrl
defaultModel
subaccountId
Opaque identifier for a BCTRL subaccount.
Errors
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error

