DataRegion - TypeScript SDK

DataRegion type definition

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

The data region this generation was routed through. ‘europe’ for EU-routed requests, ‘global’ otherwise.

Example Usage

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

Values

1"global" | "europe" | Unrecognized<string>