OpenAPI 3.1.0raw.githubusercontent.com2026-08-202766453.1 MB

2cd7e7f7bcb4

Smart Routers

Update a Smart Router

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

patch/v2/smart-routers/{smart_router_id}

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_UNSPECIFIED' | 'SMART_ROUTER_PROFILE_QUALITY' | 'SMART_ROUTER_PROFILE_BALANCED' | 'SMART_ROUTER_PROFILE_COST'

Response

OK