Skip to main content
The TypeScript SDK and docs are currently in beta. Report issues on GitHub.
Type of API used for the generation

Example Usage

import { ApiType } from "@openrouter/sdk/models/operations";

let value: ApiType = "embeddings";

Values

This is an open enum. Unrecognized values will be captured as the Unrecognized<string> branded type.
"completions" | "embeddings" | Unrecognized<string>