Fetch
AI-generatedSummary
Uses an AI model to analyze and summarize web page content based on a custom prompt.
Inputs
- url (required) — The URL of the web page to fetch and analyze.
- prompt (required) — Instructions for how to analyze the page content; be specific about the information to extract.
Output shape
A list of items, each containing a 'result' field with the analyzed content and an optional 'unsafe' flag.
The 'unsafe' field indicates whether the result may contain sensitive content; if 'continueOnFail' is enabled, errors are returned in the 'error' field.
Examples
Example 1: Summarize a news article
URL: https://example.com/news/article
Prompt: Extract the main points and summarize them in 3 sentences.
Example 2: Extract product details from an e-commerce page
URL: https://example.com/product/123
Prompt: List the product name, price, and available variants in JSON format.
