admin

Create, update, or rename one virtual model

Changed on
put/admin/virtual-models

Request

  • Base URL
    http://localhost:8080
  • URL
    http://localhost:8080/admin/virtual-models
  • Auth
    HTTP bearer

Request body

descriptionstring
enabledboolean
failoverboolean

Failover retries a failed request on the remaining targets. Omitted means enabled; false serves the chosen target only.

old_sourcestring
reasoning_effortstring

ReasoningEffort forces the reasoning effort sent upstream ("none", "minimal", "low", "medium", "high", "xhigh", or "max"); empty keeps the client's value.

session_affinityboolean

SessionAffinity keeps a detected session on the target that served it before. Omitted means enabled; false restores stateless balancing.

sourcestring required
strategystring
strategy_configobject
strategy_pluginstring

StrategyPlugin names the routing-strategy plugin for strategy "plugin"; StrategyConfig holds that plugin's route-scoped settings, validated against its schema (see GET /admin/plugins, route_fields).

target_modelstring
user_pathsstring[]

Response

OK

created_atstring
descriptionstring
enabledboolean
failoverboolean
kindstring
managedboolean
modelstring
provider_namestring
provider_typestring
reasoning_effortstring
resolved_modelstring
scope_kindstring
session_affinityboolean
sourcestring
strategystring
strategy_configobject
strategy_pluginstring
updated_atstring
user_pathsstring[]
validboolean

Changes

    • info

      added the new optional request property

    • info

      added the optional property to the response with the status

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status