ApiType - TypeScript SDK

ApiType type definition

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

Type of API used for the generation

Example Usage

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

Values

1"completions" | "embeddings" | "video" | Unrecognized<string>