Document - TypeScript SDK
Document type definition
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Document type definition
import { Document } from "@openrouter/sdk/models/operations";
let value: Document = {
text: "Paris is the capital of France.",
};
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
text | string | :heavy_check_mark: | The document text | Paris is the capital of France. |