Example Usage
Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
id | ”auto-router” | :heavy_check_mark: | N/A | |
enabled | boolean | :heavy_minus_sign: | Set to false to disable the auto-router plugin for this request. Defaults to true. | |
allowedModels | string[] | :heavy_minus_sign: | List of model patterns to filter which models the auto-router can route between. Supports wildcards (e.g., “anthropic/*” matches all Anthropic models). When not specified, uses the default supported models list. | [ “anthropic/”, “openai/gpt-4o”, “google/” ] |