ContentText - TypeScript SDK

ContentText type definition

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

Example Usage

1import { ContentText } from "@openrouter/sdk/models/operations";
2
3let value: ContentText = {
4 text: "<value>",
5 type: "text",
6};

Fields

FieldTypeRequiredDescription
textstring✔️N/A
type”text”✔️N/A