Models
Create a custom provider
Changed onTo update an existing provider, use PATCH /api/providers/{provider_id}/.
post/api/providers/
Request
- Base URLhttps://api.respan.ai
- URLhttps://api.respan.ai/api/providers/
- Auth
- HTTP bearer
- or HTTP bearer
Request body
Example request
{
"provider_id": "my-vllm",
"provider_name": "My vLLM Server",
"extra_kwargs": {
"api_key": "sk_provider_xxxxx",
"base_url": "https://vllm.example.com/v1",
"timeout": 60
}
}Response
Created provider.
Example response
{
"id": "my-vllm",
"provider_id": "my-vllm",
"provider_name": "My vLLM Server",
"extra_kwargs": {
"base_url": "https://vllm.example.com/v1"
}
}Changes
- breaking
request body became required
- breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - info
api operation id
models_createCustomProviderremoved and replaced withcreateCustomProvider - info
the endpoint scheme security
DashboardJwtwas added to the API - info
api tag
Modelsadded - info
api tag
modelsremoved
- breaking
- info
added the non-success response with the status
- info
removed the non-success response with the status
- info