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
Core - Update a Smart Router
Related guide: Routing rules guide. See the Routing rules guide for a walkthrough with examples.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Body
application/json
Replacement pool of 2 to 50 distinct eligible models. Each value uses provider/model format. Omit to keep the current pool.
New routing preference. Omit to keep the current profile.
Available options:
SMART_ROUTER_PROFILE_UNSPECIFIED, SMART_ROUTER_PROFILE_QUALITY, SMART_ROUTER_PROFILE_BALANCED, SMART_ROUTER_PROFILE_COST Response
200 - application/json
OK