Models
Update a custom provider
Changed onPartially update editable fields for a custom provider. The provider_id field is read-only.
patch/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
the response property
became nullable for the status - breaking
the response property
became nullable for the status - info
api operation id
models_updateCustomProviderremoved and replaced withupdateCustomProvider - info
the endpoint scheme security
DashboardJwtwas added to the API - info
api tag
Modelsadded - info
api tag
modelsremoved
- breaking
- 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
- warning