Provider fields
Providers represent API connections with credentials.
Provider list showing adapter type, endpoint, API key status, and action buttons.
Required
identifier
-
- Type
- string
- Required
true
Unique slug for programmatic access (e.g.,
openai-prod,ollama-local).
name
-
- Type
- string
- Required
true
Display name shown in the backend.
adapter_type
-
- Type
- string
- Required
true
The protocol to use:
openai— OpenAI APIanthropic— Anthropic Claude APIgemini— Google Gemini APIollama— Local Ollama instanceopenrouter— OpenRouter multi-model APImistral— Mistral AI APIgroq— Groq inference APIazure_openai— Azure OpenAI Servicecustom— OpenAI-compatible endpoint
api_key
-
- Type
- string
API key for authentication. Stored as a nr-vault UUID identifier (envelope encryption). nr-llm never stores raw API keys in the database. Required for cloud providers (OpenAI, Claude, Gemini, etc.); not required for local providers like Ollama.
Optional
endpoint_url
-
- Type
- string
- Default
- (adapter default)
Custom API endpoint URL.
organization_id
-
- Type
- string
- Default
- (empty)
Organization ID (OpenAI, Azure).
timeout
-
- Type
- integer
- Default
- 30
Request timeout in seconds.
max_retries
-
- Type
- integer
- Default
- 3
Number of retry attempts on failure.
options
-
- Type
- JSON
- Default
- {}
Additional adapter-specific options.