WebSearchEngineEnum - TypeScript SDK

WebSearchEngineEnum type definition

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

Which search engine to use. “auto” (default) uses native if the provider supports it, otherwise Exa. “native” forces the provider’s built-in search. “exa” forces the Exa search API. “firecrawl” uses Firecrawl (requires BYOK). “parallel” uses the Parallel search API.

Example Usage

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

Values

1"auto" | "native" | "exa" | "parallel" | "firecrawl" | Unrecognized<string>