Moderation - TypeScript SDK

Moderation type definition

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

Example Usage

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

Values

1"auto" | "low" | Unrecognized<string>