---
title: "Create a Smart Router"
method: POST
path: "/v2/smart-routers"
tags: ["Smart Routers"]
---

# Create a Smart Router

`POST /v2/smart-routers`

Creates a Smart Router in the current workspace from 2 to 50 distinct eligible models. The key must be unique in the workspace and becomes part of the model reference used in AI Gateway requests.

## Request body

- CreateSmartRouterRequest
  - `key` string, required — Unique key for the Smart Router within the workspace. Use lowercase letters, numbers, and hyphens.
  - `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

## Response `200`

OK

- CreateSmartRouterResponse
  - `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/2cd7e7f7bcb4/schema)
