Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
attempt | int | :heavy_check_mark: | N/A | |
attempts | List[components.RouterAttempt] | :heavy_minus_sign: | N/A | |
endpoints | components.EndpointsMetadata | :heavy_check_mark: | N/A | { “available”: [ { “model”: “openai/gpt-4o”, “provider”: “OpenAI”, “selected”: true } ], “total”: 3 } |
generation_time | Optional[int] | :heavy_minus_sign: | Milliseconds measured for the generation, from dispatching the upstream request until its response body ended. Divide the completion token count by this for throughput. Absent when no upstream request was dispatched. | 2016 |
is_byok | bool | :heavy_check_mark: | N/A | |
params | Optional[components.RouterParams] | :heavy_minus_sign: | N/A | { “version_group”: “anthropic/claude-sonnet-4” } |
pipeline | List[components.PipelineStage] | :heavy_minus_sign: | N/A | |
region | Nullable[str] | :heavy_check_mark: | N/A | |
requested | str | :heavy_check_mark: | N/A | |
strategy | components.RoutingStrategy | :heavy_check_mark: | N/A | direct |
summary | str | :heavy_check_mark: | N/A |