Models
Replace a custom provider
Changed onReplace editable fields for a custom provider. The provider_id path value remains the identifier.
put/api/providers/{provider_id}/
Request
- Base URLhttps://api.respan.ai
- URLhttps://api.respan.ai/api/providers/{provider_id}/
- Auth
- HTTP bearer
- or HTTP bearer
Path parameters
provider_idstring required
Custom provider string ID returned as id and provider_id in provider responses.
Request body
Example request
{
"provider_name": "My vLLM Server",
"extra_kwargs": {
"api_key": "sk_provider_xxxxx",
"base_url": "https://vllm.example.com/v1",
"timeout": 60
}
}Response
Updated 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_replaceCustomProviderremoved and replaced withreplaceCustomProvider - info
the endpoint scheme security
DashboardJwtwas added to the API - info
api tag
Modelsadded - info
api tag
modelsremoved
- breaking
- breaking
the request property
became required - warning
removed the optional property
from the response with the status - info
removed the non-success response with the status
- info
the response property
became required for the status
- breaking