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

Example Usage

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

let value: ChatWebSearchShorthandType = "web_search_preview";

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

Values

"web_search" | "web_search_preview" | "web_search_preview_2025_03_11" | "web_search_2025_08_26" | Unrecognized<string>