/v1/private/llm-provider-keyFind LLM Provider's ApiKeysFind LLM Provider's ApiKeys
Responses
contentarray of objectShow child attributes
Show array items
api_keystringauth_configobjectDynamic 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.
Show child attributes
credentialsarray of objectFields sent to the token URL. Values flagged as secret are write-only: they read back as the '__SECRET__' sentinel
Show child attributes
Show array items
Fields sent to the token URL. Values flagged as secret are write-only: they read back as the '__SECRET__' sentinel
keystringrequiredsecretbooleanSecret values are encrypted at rest and never read back; once true it cannot be unset
valuestringexpires_fieldstringField holding the token lifetime in seconds in the reply; dot-path for nested replies
fallback_ttl_secondsinteger · int64Lifetime in seconds assumed when the reply doesn't state one, capped at one year; 0 disables caching for such replies. A reply-stated lifetime always wins
send_asstringHow credentials are sent: form body (default), JSON body, or basic auth (id/secret in an HTTP Basic header, remaining fields in the form body)
token_fieldstringField holding the token in the reply; dot-path for nested replies
token_urlstringAuth service URL the credentials are sent to
base_urlstringconfigurationobjectcreated_atstring · date-timecreated_bystringheadersobjectidstring · uuidlast_updated_atstring · date-timelast_updated_bystringnamestringproviderstringrequiredprovider_namestringProvider 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.
read_onlybooleanIf true, this provider is system-managed and cannot be edited or deleted
sizeinteger · int32sortableByarray of stringShow child attributes
totalinteger · int64{
"content": [
{
"api_key": "",
"auth_config": {
"credentials": [
{
"key": "string",
"secret": "",
"value": "string"
}
],
"expires_field": "expires_in",
"fallback_ttl_seconds": 0,
"send_as": "basic",
"token_field": "access_token",
"token_url": "https://developer.api.example.com/authentication/v1/token"
},
"base_url": "string",
"configuration": {
"additionalProp1": "string"
},
"created_at": "2026-06-09T00:00:00Z",
"created_by": "string",
"headers": {
"additionalProp1": "string"
},
"id": "00000000-0000-0000-0000-000000000000",
"last_updated_at": "2026-06-09T00:00:00Z",
"last_updated_by": "string",
"name": "string",
"provider": "anthropic",
"provider_name": "ollama",
"read_only": true
}
],
"size": 0,
"sortableBy": [
"string"
],
"total": 0
}