v25

latestSwagger 2.0raw.githubusercontent.com2026-08-04171221502.5 KB
【用户】模型管理

更新模型配置

更新指定的模型配置信息

put/api/v1/users/models/{id}

Path parameters

idstring required

模型配置ID

Request body

api_keystring
base_urlstring
context_limitinteger
interface_type'openai_chat' | 'openai_responses' | 'anthropic'
is_defaultboolean
is_hiddenboolean
modelstring
output_limitinteger
providerstring
remarkstring
support_imageboolean
temperaturenumber
thinking_enabledboolean

Response

成功

codeinteger
{"stackTrail":"components:schemas:web.Resp:properties:data","oasType":"schema","type":"unknown"}
messagestring