DisplayFormat - TypeScript SDK

DisplayFormat type definition

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

How this metric value should be formatted for display (e.g. percent → multiply by 100 and append %, currency → prefix with $)

Example Usage

1import { DisplayFormat } from "@openrouter/sdk/models/operations";
2
3let value: DisplayFormat = "number";
4
5// Open enum: unrecognized values are captured as Unrecognized<string>

Values

1"number" | "currency" | "percent" | "latency" | "throughput" | Unrecognized<string>