Skip to main content
The TypeScript SDK and docs are currently in beta. Report issues on GitHub.

Example Usage

import { AnthropicCitationSearchResultLocation } from "@openrouter/sdk/models";

let value: AnthropicCitationSearchResultLocation = {
  citedText: "Example cited text",
  endBlockIndex: 1,
  searchResultIndex: 0,
  source: "example_source",
  startBlockIndex: 0,
  title: "Example Result",
  type: "search_result_location",
};

Fields

FieldTypeRequiredDescription
citedTextstring:heavy_check_mark:N/A
endBlockIndexnumber:heavy_check_mark:N/A
searchResultIndexnumber:heavy_check_mark:N/A
sourcestring:heavy_check_mark:N/A
startBlockIndexnumber:heavy_check_mark:N/A
titlestring:heavy_check_mark:N/A
type”search_result_location”:heavy_check_mark:N/A