ProviderSortConfig - Go SDK

ProviderSortConfig type definition

The Go SDK and docs are currently in beta. Report issues on GitHub.

The provider sorting strategy (price, throughput, latency)

Fields

FieldTypeRequiredDescriptionExample
Byoptionalnullable.OptionalNullable[components.By]The provider sorting strategy (price, throughput, latency)price
Partitionoptionalnullable.OptionalNullable[components.Partition]Partitioning strategy for sorting: “model” (default) groups endpoints by model before sorting (fallback models remain fallbacks), “none” sorts all endpoints together regardless of model.model