Partition - TypeScript SDK
Partition type definition
Partitioning strategy for sorting: “model” (default) groups endpoints by model before sorting (fallback models remain fallbacks), “none” sorts all endpoints together regardless of model.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Partition type definition
import { Partition } from "@openrouter/sdk/models";
let value: Partition = "model";
// Open enum: unrecognized values are captured as Unrecognized<string>
"model" | "none" | Unrecognized<string>