Skip to main content
The Python SDK and docs are currently in beta. Report issues on GitHub.

Fields

FieldTypeRequiredDescriptionExample
attemptint:heavy_check_mark:N/A
attemptsList[components.RouterAttempt]:heavy_minus_sign:N/A
endpointscomponents.EndpointsMetadata:heavy_check_mark:N/A{"available": [{"model": "openai/gpt-4o","provider": "OpenAI","selected": true}
],
“total”: 3<br/>}
is_byokbool:heavy_check_mark:N/A
paramsOptional[components.RouterParams]:heavy_minus_sign:N/A{"version_group": "anthropic/claude-sonnet-4"}
pipelineList[components.PipelineStage]:heavy_minus_sign:N/A
regionNullable[str]:heavy_check_mark:N/A
requestedstr:heavy_check_mark:N/A
strategycomponents.RoutingStrategy:heavy_check_mark:N/Adirect
summarystr:heavy_check_mark:N/A