Skip to content
Docs

Settings — Gateway Routes

Navigate to: Settings → Gateway Routes

What it shows: All configured proxy routes — mappings from incoming request paths to upstream URLs. Each route defines its upstream, path pattern, priority, TTL, and optional header matching, rewrites, rate limit, transforms, security, health checks, circuit breaker and TLS settings.

Step-by-step: Create a gateway route

  1. Navigate to Settings → Gateway Routes.
  2. Click Add Route.
  3. Fill in:
    • Type and Name — e.g., Production OpenAI
    • Upstream URL — e.g., https://api.openai.com
    • Path Pattern — e.g., /v1/chat/completions
    • TTL (ms) — default 30000
  4. Click Save.

Gateway routes do not load-balance across upstreams. To spread traffic across provider API keys, use the API Key load-balancing policy (round-robin, least-loaded, weighted, random); for tiered model selection with failover, use Complexity Routing.

Route health: open a route to see its status, latency, consecutive failures, total checks, last check, circuit breaker state and whether it was auto-disabled.

Cross-reference: Multi-provider configuration details at section 7.3. Header-based routing at section 7.11. Tenant routing rules at section 7.12.

How to test: Create a route pointing at a known upstream, send a request whose path matches its Path Pattern, and confirm the route’s health details update.