Skip to main content
GET
/
api
/
v1
/
routing-preferences
/
presets
List Preset Templates
curl --request GET \
  --url https://api.example.com/api/v1/routing-preferences/presets

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.

Returns the hand-curated preset templates the Routing Studio empty state offers as starter rule sets. Presets are read-only — applying one is a normal create preference call seeded with the preset’s rules, examples, and confidence_floor_overrides.

Authentication

Requires a Bearer token with the billing API key scope.

Request Examples

curl https://www.hitheo.ai/api/v1/routing-preferences/presets \
  -H "Authorization: Bearer $THEO_API_KEY"

Response

Each preset includes id, name, tagline, description, rules, examples, and confidence_floor_overrides.
{
  "presets": [
    {
      "id": "pricing-questions",
      "name": "Pricing questions",
      "tagline": "Route pricing questions to the analytical engine.",
      "description": "Catches pricing-related keywords (pricing, cost, quote, plan, tier) and promotes to `think`.",
      "rules": [
        {
          "pattern": "\\b(price|pricing|cost|quote|tier|plan)\\b",
          "target_mode": "think",
          "confidence": 0.88,
          "description": "Pricing questions get the analytical engine."
        }
      ],
      "examples": [
        { "prompt": "What's the price of the enterprise plan?", "expected_mode": "think" }
      ],
      "confidence_floor_overrides": {}
    }
  ]
}