---
title: "Get auto-routing settings"
method: GET
path: "/routing/auto"
tags: ["Gateway"]
---

# Get auto-routing settings

`GET /routing/auto`

## Request

- Base URL: `https://api.phaseo.app/v1`
- URL: `https://api.phaseo.app/v1/routing/auto`
- Auth: HTTP bearer

Returns the limits the auto-router works within for this workspace. Any workspace member; settings:read required.

## Response `200`

Auto-routing settings

- AutoRoutingSettingsResponse
  - `data` AutoRoutingSettings, required
    - `allowed_patterns` string[]: Provider/model patterns the auto-router may choose from, such as openai/*. Empty allows every model.
    - `spend_profile` 'economy' | 'standard' | 'premium' | 'unrestricted' | 'custom'
    - `max_input_price_per_million` number, nullable: USD per million input tokens; set only for the custom spend profile.
    - `max_output_price_per_million` number, nullable: USD per million output tokens; set only for the custom spend profile.
    - `objective` 'balanced' | 'quality' | 'cost' | 'latency'
    - `allow_fallbacks` boolean
    - `revision` string, nullable
    - `updated_at` string, date-time, nullable

## Other responses

- `401`: Unauthorized

## Changes

- **2026-10-28** `72ba9c856a2c`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/phaseo/apis/phaseo-gateway-api/changes/routing/auto/get.md)

---

[API](https://skmtc.dev/phaseo/apis/phaseo-gateway-api.md) - [All operations](https://skmtc.dev/phaseo/apis/phaseo-gateway-api/llms.txt) - [OpenAPI document](https://skmtc.dev/phaseo/apis/phaseo-gateway-api/revisions/5ca9bb220d25?raw)
