The TypeScript SDK and docs are currently in beta.
Report issues on GitHub.
Example Usage
import { ContentText } from "@openrouter/sdk/models/operations";
let value: ContentText = {
text: "<value>",
type: "text",
};
Fields
| Field | Type | Required | Description |
|---|---|---|---|
text | string | :heavy_check_mark: | N/A |
type | ”text” | :heavy_check_mark: | N/A |