Schema1 - TypeScript SDK

Schema1 method reference

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

Example Usage

1import { Schema1 } from "@openrouter/sdk/models";
2
3let value: Schema1 = "latency";

Values

This is an open enum. Unrecognized values will be captured as the Unrecognized<string> branded type.

1"price" | "throughput" | "latency" | Unrecognized<string>