AnthropicCitationSearchResultLocation - TypeScript SDK

AnthropicCitationSearchResultLocation type definition

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

Example Usage

1import { AnthropicCitationSearchResultLocation } from "@openrouter/sdk/models";
2
3let value: AnthropicCitationSearchResultLocation = {
4 citedText: "Example cited text",
5 endBlockIndex: 1,
6 searchResultIndex: 0,
7 source: "example_source",
8 startBlockIndex: 0,
9 title: "Example Result",
10 type: "search_result_location",
11};

Fields

FieldTypeRequiredDescription
citedTextstring✔️N/A
endBlockIndexnumber✔️N/A
searchResultIndexnumber✔️N/A
sourcestring✔️N/A
startBlockIndexnumber✔️N/A
titlestring✔️N/A
type”search_result_location”✔️N/A