Skip to main content
PATCH
Core - Update a Smart Router

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

smart_router_id
string
required

Body

application/json
models
string[]

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

profile
enum<string>

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

smart_router
object
required