The TypeScript SDK and docs are currently in beta.
Report issues on GitHub.
Example Usage
import { ResponseInputText } from "@openrouter/sdk/models";
let value: ResponseInputText = {
type: "input_text",
text: "Hello, how can I help you?",
};
Fields
| Field | Type | Required | Description |
|---|---|---|---|
type | ”input_text” | :heavy_check_mark: | N/A |
text | string | :heavy_check_mark: | N/A |