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

Example Usage

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

let value: AnthropicCitationWebSearchResultLocation = {
  citedText: "Example cited text",
  encryptedIndex: "enc_idx_0",
  title: "Example Page",
  type: "web_search_result_location",
  url: "https://example.com",
};

Fields

FieldTypeRequiredDescription
citedTextstring:heavy_check_mark:N/A
encryptedIndexstring:heavy_check_mark:N/A
titlestring:heavy_check_mark:N/A
type”web_search_result_location”:heavy_check_mark:N/A
urlstring:heavy_check_mark:N/A