---
title: "Update a Smart Router"
method: PATCH
path: "/v2/smart-routers/{smart_router_id}"
tags: ["Smart Routers"]
---

# Update a Smart Router

`PATCH /v2/smart-routers/{smart_router_id}`

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

## Path parameters

- `smart_router_id` string, required

## Request body

- UpdateSmartRouterRequest
  - `models` string[] — 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 `200`

OK

- UpdateSmartRouterResponse
  - `smart_router` SmartRouter, required
    - `smart_router_id` string, required — Unique identifier assigned to the Smart Router.
    - `key` string, required — Immutable lowercase key that identifies the Smart Router within the workspace.
    - `model_ref` string, required — Immutable workspace-qualified model reference to use in AI Gateway requests, in `<workspace-key>@orq/<key>` format.
    - `models` string[], required — Pool of 2 to 50 distinct eligible models. Each value uses `provider/model` format.
    - `profile` 'SMART_ROUTER_PROFILE_UNSPECIFIED' | 'SMART_ROUTER_PROFILE_QUALITY' | 'SMART_ROUTER_PROFILE_BALANCED' | 'SMART_ROUTER_PROFILE_COST', required
    - `enabled` boolean, required — Whether the Smart Router can be used in AI Gateway requests.
    - `created_at` string, date-time, required — Date and time when the Smart Router was created.
    - `updated_at` string, date-time, required — Date and time when the Smart Router was last updated.

---

[API](https://skmtc.net/orq-ai/apis/orq-ai-api.md) · [All operations](https://skmtc.net/orq-ai/apis/orq-ai-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/orq-ai/orq-ai-api/revisions/f54fa34db0f4/schema)
