Create custom provider
Authentication
Request
Human-readable provider name.
API key for the provider (write-only, never returned in responses).
Additional provider configuration (write-only, never returned in responses).
Human-readable provider name.
API key for the provider (write-only, never returned in responses).
Additional provider configuration (write-only, never returned in responses).
Create a new custom provider or update an existing one (upsert by provider_id). Custom providers allow you to configure custom LLM API endpoints with your own credentials.
Upsert behavior: If a provider with the same provider_id already exists in your organization, it will be updated with the new values.
Write-only fields: The api_key and extra_kwargs fields are accepted in requests but never returned in responses for security reasons.
provider_id string required: Unique provider identifier within your organization.
Example
provider_name string required: Human-readable provider name.
Example
api_key string: API key for the provider (write-only, never returned in responses).
Example
extra_kwargs object: Additional provider configuration (write-only, never returned in responses).
Common fields
base_url (string): Custom API base URL
timeout (integer): Request timeout in seconds
temperature (float): Default temperature setting
max_tokens (integer): Default max tokens
Example
Returns the created or updated provider object (without sensitive fields).
API key authentication. Get your API key from https://platform.respan.ai/platform/api-keys