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";

Values

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

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