Smart Routers

Update a Smart Router

Changed on

Updates the model pool, routing profile, session affinity, or any combination. Omitted fields retain their current values. The router key and model reference cannot be changed.

patch/v2/smart-routers/{smart_router_id}

Request

  • Base URL
    https://my.orq.ai
  • URL
    https://my.orq.ai/v2/smart-routers/{smart_router_id}
  • Auth
    HTTP bearer

Path parameters

smart_router_idstring required

Request body

modelsstring[]

Replacement pool of 2 to 50 distinct eligible models. Each value uses provider/model format. Omit to keep the current pool.

profile'SMART_ROUTER_PROFILE_QUALITY' | 'SMART_ROUTER_PROFILE_BALANCED' | 'SMART_ROUTER_PROFILE_COST'

Response

OK

Changes

    • breaking

      removed the enum value SMART_ROUTER_PROFILE_UNSPECIFIED of the request property

    • info

      added the new optional request property

    • info

      added the non-success response with the status

    • info

      added the optional property / to the response with the status

    • info

      removed the SMART_ROUTER_PROFILE_UNSPECIFIED enum value from the / response property for the response status

    • warning

      removed the request property

    • warning

      removed the optional property / from the response with the status

    • warning

      added the new SMART_ROUTER_PROFILE_UNSPECIFIED enum value to the / response property for the response status

    • info

      added the new SMART_ROUTER_PROFILE_UNSPECIFIED enum value to the request property

    • info

      removed the non-success response with the status