Get LLM Provider's ApiKey by id
Get LLM Provider's ApiKey by id
Path parameters
id
Response
LLMProviderApiKey resource
provider
id
api_key
name
provider_name
Provider name - required for custom LLM and Bedrock providers to uniquely identify them (e.g., 'ollama', 'vllm', 'Bedrock us-east-1'). Must not be blank for custom and Bedrock providers. Should not be set for standard providers (OpenAI, Anthropic, etc.). This requirement is conditional and validation is enforced programmatically.
headers
configuration
base_url
auth_config
Dynamic token auth recipe. When set, Opik fetches a short-lived bearer from the configured auth service instead of using a static api_key. Only supported for custom providers. Secret credential values read back masked.
created_at
created_by
last_updated_at
last_updated_by
read_only
If true, this provider is system-managed and cannot be edited or deleted
Errors
404
Not Found Error