Skip to main content
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

FieldTypeRequiredDescription
endIndexnumber:heavy_check_mark:N/A
startIndexnumber:heavy_check_mark:N/A
titlestring:heavy_check_mark:N/A
type”url_citation”:heavy_check_mark:N/A
urlstring:heavy_check_mark:N/A