LlmRoutingPolicy
Description
Provider-agnostic model routing policy with fallback and provider allow-list controls.
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| strategy | StrategyEnum | Routing behavior for model requests. | [optional] |
| primaryProvider | PrimaryProviderEnum | Primary provider to use for requests. | [optional] |
| fallbackProviders | List<FallbackProvidersEnum> | Ordered fallback providers used when primary requests fail. | [optional] |
| allowedProviders | List<AllowedProvidersEnum> | Explicit provider allow-list enforced by policy controls. | [optional] |
| maxFallbackAttempts | Integer | Maximum number of provider fallback attempts per request. | [optional] |
| id | UUID | Unique identifier for object in the system | [optional] [readonly] |
| ownerId | UUID | UUID of owner of the object in the system | [optional] [readonly] |
| createdDate | OffsetDateTime | Date of object creation | [optional] [readonly] |
| keyHash | String | Data, including hash of the key(s) used to encrypt this record. | [optional] [readonly] |
| lastAccessedById | UUID | Last user to access object | [optional] [readonly] |
| lastAccessedDate | OffsetDateTime | Timestamp of last access of object | [optional] [readonly] |
| lastModifiedById | UUID | Unique identifier for user who last modifed the object in the system | [optional] [readonly] |
| lastModifiedDate | OffsetDateTime | Date of last object modification | [optional] [readonly] |
| trashed | Boolean | Indicates if the object is trashed (soft deleted) | [optional] |
Enum: StrategyEnum
| Name | Value |
|---|---|
| SINGLE_PROVIDER | "single_provider" |
| FALLBACK_CHAIN | "fallback_chain" |
Enum: PrimaryProviderEnum
| Name | Value |
|---|---|
| VALKYRAI | "valkyrai" |
| OPENAI | "openai" |
| LLAMA | "llama" |
| PHI | "phi" |
| GEMMA | "gemma" |
| MISTRAL | "mistral" |
| CLAUDE | "claude" |
| GEMINI | "gemini" |
| OTHER | "other" |
| CHATGPT_PASS_THROUGH | "chatgpt_pass_through" |
Enum: List<FallbackProvidersEnum>
| Name | Value |
|---|---|
| VALKYRAI | "valkyrai" |
| OPENAI | "openai" |
| LLAMA | "llama" |
| PHI | "phi" |
| GEMMA | "gemma" |
| MISTRAL | "mistral" |
| CLAUDE | "claude" |
| GEMINI | "gemini" |
| OTHER | "other" |
| CHATGPT_PASS_THROUGH | "chatgpt_pass_through" |
Enum: List<AllowedProvidersEnum>
| Name | Value |
|---|---|
| VALKYRAI | "valkyrai" |
| OPENAI | "openai" |
| LLAMA | "llama" |
| PHI | "phi" |
| GEMMA | "gemma" |
| MISTRAL | "mistral" |
| CLAUDE | "claude" |
| GEMINI | "gemini" |
| OTHER | "other" |
| CHATGPT_PASS_THROUGH | "chatgpt_pass_through" |
Implemented Interfaces
- Serializable
Generated Version Details
| ~ | value |
|---|---|
| GENERATOR VERSION | com.valkyrlabs:ValkyrAI API 1.0.3-SNAPSHOT |
| API ARTIFACT | com.valkyrlabs.valkyrai-api.jar |
| GENERATOR VERSION | org.openapitools.openapi-generator:7.5.0 |
| GENERATOR CLASS | org.openapitools.codegen.languages.SpringCodegen |
| GENERATED DATE | 2026-05-16T11:45:23.900207-07:00[America/Los_Angeles] |