Extraction
AI-generatedSummary
Extract content from provided URLs and return either raw content, a summary, or a structured result based on configured mode.
Inputs
- urls (required) — Comma or newline-separated URLs to extract (max 10)
- summaryMode — How to process the extracted content
- customPrompt — Custom instructions for AI processing
- jsonSchema — JSON Schema defining the structure for extracted data
- extractionOptions — Extraction options such as response length, extract effort, and max price
- returnMode — Return just the results array or the full API response
Output shape
an array of extracted results
If returnMode is 'full' the full API response is returned; otherwise the results array is returned. Errors are handled via continueOnFail and may result in an error item.
Examples
Example 1: Extract raw content from two URLs
URLs: https://example.com/a, https://example.com/b; Summary Mode: none; Extraction Options: responseLength=short, extractEffort=normal, maxPriceDollars=1; Return Mode: results
Example 2: Generate a structured JSON summary
URLs: https://example.com/article1; Summary Mode: structured; JSON Schema: {"type":"object","properties":{"title":{"type":"string"},"summary":{"type":"string"},"key_points":{"type":"array","items":{"type":"string"}}}; Extraction Options: responseLength=medium; Return Mode: results
Example 3: Apply a custom processing prompt
URLs: https://example.com/report; Summary Mode: custom; Custom Prompt: "Summarize key points and extract any mentioned dates..."; Extraction Options: responseLength=large; Return Mode: full