URLCitation - TypeScript SDK

URLCitation type definition

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

Example Usage

1import { URLCitation } from "@openrouter/sdk/models";
2
3let value: URLCitation = {
4 endIndex: 827156,
5 startIndex: 720244,
6 title: "<value>",
7 type: "url_citation",
8 url: "https://snappy-decision.biz",
9};

Fields

FieldTypeRequiredDescription
endIndexnumber✔️N/A
startIndexnumber✔️N/A
titlestring✔️N/A
type”url_citation”✔️N/A
urlstring✔️N/A