v51

OpenAPI 3.1.0Apache 2.0raw.githubusercontent.com2026-08-01308532588.1 KB
LlmProviderKey

Store LLM Provider's ApiKey

Store LLM Provider's ApiKey

post/v1/private/llm-provider-key

Request body

provider'openai' | 'anthropic' | 'gemini' | 'openrouter' | 'vertex-ai' | 'bedrock' | 'ollama' | 'custom-llm' | 'opik-free' required
api_keystring
namestring
provider_namestring

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.

headersobject
configurationobject
base_urlstring

Example request

{
  "provider_name": "ollama"
}

Response

Created