models
Replace a custom model
Replace editable fields for a custom model. The model_name path value remains the identifier.
put/api/models/{model_name}/
Path parameters
model_namestring required
Model name. The route supports names containing slashes, such as openai/gpt-4o-mini.
Headers
Authorizationstring required
Use your Respan API key for Respan API authentication. Enter only the Respan API key value; clients send Authorization: Bearer <RESPAN_API_KEY>. For /api/responses, OpenAI or Azure OpenAI provider credentials go in Settings -> Providers or the request body credential_override field, not in this auth field.
Request body
Response
Updated model.