Create a new LLM provider
POST /v1/llm-providers
Request Body required
Section titled “Request Body required ”Request to create a new LLM provider
object
API key for authenticating with the provider. Will be encrypted at rest if encryption is configured.
Base URL for the provider’s API. Required for custom endpoints. For standard providers, this can be omitted to use the default URL.
Example
https://api.openai.com/v1Display name for the provider.
Example
OpenAI ProductionThe type of LLM provider (e.g., openai, anthropic).
Responses
Section titled “ Responses ”Provider created
Wrapper that adds self_url and view_url to a serialized resource.
Uses self_url (not url) for the API link to avoid collision with
resources that already have a url field (e.g. McpServer).
object
Whether an API key is configured (key is never returned)
Example
provider_01933b5a00007000800000000000001When models were last synced from provider API
LLM provider type
LLM provider status
Full API endpoint URL for this resource.
Full UI URL for viewing this resource.
Invalid request
Internal error