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

# Retrieve a Smart Router

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

## Request

- Base URL: `https://my.orq.ai`
- URL: `https://my.orq.ai/v2/smart-routers/{smart_router_id}`
- Auth: HTTP bearer

Retrieves a Smart Router by ID from the current workspace, including its model reference, model pool, routing profile, and enabled state.

## Path parameters

- `smart_router_id` string, required

## Response `200`

OK

- GetSmartRouterResponse
  - `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_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.
    - `session_affinity` SmartRouterSessionAffinity
      - `enabled` boolean, required: Whether later turns of a thread stay on the model chosen for its first turn. Only requests that carry a thread id take part. Off by default.
      - `ttl_seconds` integer: Sliding idle window in seconds. A thread that stays quiet longer than this is routed afresh on its next turn. Between 60 and 3600. Defaults to 600 when omitted.

## Other responses

- `401`: Authentication required. See https://docs.orq.ai/reference/errors for the error codes.
- `403`: Not permitted for this key, project or workspace. See https://docs.orq.ai/reference/errors for the error codes.

## Changes

> 554 revisions in range; 71 not diffed.

- **2026-10-23** `0b4e519a544f`: 4 info
  - added the non-success response with the status `401`
  - added the non-success response with the status `403`
  - added the optional property `smart_router/session_affinity` to the response with the `200` status
  - removed the `SMART_ROUTER_PROFILE_UNSPECIFIED` enum value from the `smart_router/profile` response property for the response status `200`
- **2026-10-23** `732aed62833a`: 2 warning, 2 info
  - removed the optional property `smart_router/session_affinity` from the response with the `200` status
  - added the new `SMART_ROUTER_PROFILE_UNSPECIFIED` enum value to the `smart_router/profile` response property for the response status `200`
  - removed the non-success response with the status `401`
  - removed the non-success response with the status `403`
- **2026-10-22** `4f826b2c3a0e`: 4 info
  - added the non-success response with the status `401`
  - added the non-success response with the status `403`
  - added the optional property `smart_router/session_affinity` to the response with the `200` status
  - removed the `SMART_ROUTER_PROFILE_UNSPECIFIED` enum value from the `smart_router/profile` response property for the response status `200`
- …earlier changes not shown

[Operation history](https://skmtc.dev/orq-ai/apis/orq-ai-api/changes/v2/smart-routers/:smart_router_id/get.md)

---

[API](https://skmtc.dev/orq-ai/apis/orq-ai-api.md) - [All operations](https://skmtc.dev/orq-ai/apis/orq-ai-api/llms.txt) - [OpenAPI document](https://skmtc.dev/orq-ai/apis/orq-ai-api/revisions/928a71e92252?raw)
