The TypeScript SDK and docs are currently in beta.
Report issues on GitHub.
Example Usage
import { URLCitation } from "@openrouter/sdk/models";
let value: URLCitation = {
endIndex: 827156,
startIndex: 720244,
title: "<value>",
type: "url_citation",
url: "https://snappy-decision.biz",
};
Fields
| Field | Type | Required | Description |
|---|---|---|---|
endIndex | number | :heavy_check_mark: | N/A |
startIndex | number | :heavy_check_mark: | N/A |
title | string | :heavy_check_mark: | N/A |
type | ”url_citation” | :heavy_check_mark: | N/A |
url | string | :heavy_check_mark: | N/A |