Store LLM Provider's ApiKey

Store LLM Provider's ApiKey

Request

This endpoint expects an object.
providerenumRequired
api_keystringOptional
namestringOptional0-150 characters
provider_namestringOptional0-150 characters

Provider name - required for custom LLM providers to uniquely identify them (e.g., ‘ollama’, ‘vllm’). Must not be blank for custom providers. Should not be set for standard providers (OpenAI, Anthropic, etc.). This requirement is conditional and validation is enforced programmatically.

headersmap from strings to stringsOptional
configurationmap from strings to stringsOptional
base_urlstringOptionalformat: "(?s)^\s*(\S.*\S|\S)\s*$"

Response

Created

Errors