TavilyExtractParams: {
    extract_depth?: undefined | "basic" | "advanced";
    include_images?: undefined | boolean;
    urls: string | string[];
}

The parameters for the Tavily Extract API.

Type declaration

  • Optionalextract_depth?: undefined | "basic" | "advanced"

    The depth of the extraction process. "advanced" extraction retrieves more data, including tables and embedded content, with higher success but may increase latency. The cost for "advanced" extraction requests may be higher than "basic" extraction.

    "basic"
    
  • Optionalinclude_images?: undefined | boolean

    Include a list of images extracted from the URLs in the response.

    false
    
  • urls: string | string[]

    The URL or list of URLs to extract content from.

    Example: "https://en.wikipedia.org/wiki/Artificial_intelligence" or ["https://en.wikipedia.org/wiki/Artificial_intelligence", ...]