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

Fields

FieldTypeRequiredDescriptionExample
Attemptint64:heavy_check_mark:N/A
Attempts[]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/>}
IsByokbool:heavy_check_mark:N/A
Params*components.RouterParams:heavy_minus_sign:N/A{"version_group": "anthropic/claude-sonnet-4"}
Pipeline[]components.PipelineStage:heavy_minus_sign:N/A
Region*string:heavy_check_mark:N/A
Requestedstring:heavy_check_mark:N/A
Strategycomponents.RoutingStrategy:heavy_check_mark:N/Adirect
Summarystring:heavy_check_mark:N/A