ApiType - TypeScript SDK
The TypeScript SDK and docs are currently in beta. Report issues on GitHub.
Type of API used for the generation
1import { ApiType } from "@openrouter/sdk/models";23let value: ApiType = "tts";45// Open enum: unrecognized values are captured as Unrecognized<string>
1"completions" | "embeddings" | "rerank" | "tts" | "stt" | "video" | Unrecognized<string>