Skip to main content
The TypeScript SDK and docs are currently in beta. Report issues on GitHub.

Example Usage

import { Operator } from "@openrouter/sdk/models";

let value: Operator = "ends_with";

// Open enum: unrecognized values are captured as Unrecognized<string>

Values

"equals" | "not_equals" | "contains" | "not_contains" | "regex" | "starts_with" | "ends_with" | "gt" | "lt" | "gte" | "lte" | "exists" | "not_exists" | Unrecognized<string>