> ## Documentation Index
> Fetch the complete documentation index at: https://docs.hitheo.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# 列出路由偏好設置

> 列出調用方可見的所有路由工作室偏好設置。

返回由調用方創建的所有偏好設置，以及當前組織中所有團隊級偏好設置。每條偏好設置都包含一組關鍵詞規則、少樣本示例，以及針對各模式的置信度下限覆蓋項，用於讓 Theo 的路由引擎向調用方所在領域傾斜。

隱藏的按密鑰偏好設置（支撐按密鑰路由規則界面的記錄）不包含在此列表中——請改用 [`/api/v1/keys/{id}/routing-rules`](/api-reference/routing-preferences/key-routing-rules) 來管理它們。

## 身份驗證

需要具備 `billing` API 密鑰權限範圍的 Bearer 令牌。請參閱[身份驗證](/api-reference/authentication)。

## 請求示例

<CodeGroup>
  ```bash curl theme={null}
  curl https://www.hitheo.ai/api/v1/routing-preferences \
    -H "Authorization: Bearer $THEO_API_KEY"
  ```

  ```typescript SDK theme={null}
  const prefs = await theo.routingPreferences.list();
  ```
</CodeGroup>

## 響應

<ResponseField name="routing_preferences" type="object[]">
  偏好設置對象數組。每個偏好設置包含 `id`、`name`、`description`、`user_id`、`org_id`、`enabled`、`is_default`、`rules`、`examples` 以及 `confidence_floor_overrides`。
</ResponseField>

### 響應示例

```json theme={null}
{
  "routing_preferences": [
    {
      "id": "1f4f2c1a-22ce-4b07-9c0b-9c4f4b9b1d2e",
      "name": "ContractIQ Legal",
      "description": "Contract terms get the analytical engine.",
      "user_id": "user_abc",
      "org_id": null,
      "enabled": true,
      "is_default": false,
      "rules": [
        {
          "id": "r_a4b8c01x9y",
          "pattern": "\\b(clause|provision|indemnity|warranty)\\b",
          "target_mode": "think",
          "confidence": 0.92,
          "description": "Contract terms get the analytical engine."
        }
      ],
      "examples": [
        { "prompt": "Look at this clause", "expected_mode": "think" }
      ],
      "confidence_floor_overrides": {
        "think": 0.65
      }
    }
  ]
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.