The TypeScript SDK and docs are currently in beta.
Report issues on GitHub.
Example Usage
import { OpenAIResponsesRefusalContent } from "@openrouter/sdk/models";
let value: OpenAIResponsesRefusalContent = {
type: "refusal",
refusal: "I'm sorry, I cannot assist with that request",
};
Fields
| Field | Type | Required | Description |
|---|---|---|---|
type | ”refusal” | :heavy_check_mark: | N/A |
refusal | string | :heavy_check_mark: | N/A |