A URL citation annotation.

interface URLCitation {
    end_index?: number;
    start_index?: number;
    title?: string;
    type: "url_citation";
    url?: string;
}

Properties

end_index?: number

End of the attributed segment, exclusive.

start_index?: number

Start of segment of the response that is attributed to this source.

Index indicates the start of the segment, measured in bytes.

title?: string

The title of the URL.

type: "url_citation"
url?: string

The URL.