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

A URL citation annotation.

Type declaration

  • Optionalend_index?: number

    End of the attributed segment, exclusive.

  • Optionalstart_index?: number

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

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

  • Optionaltitle?: string

    The title of the URL.

  • type: "url_citation"
  • Optionalurl?: string

    The URL.