Actions3
Get Results
AI-generatedSummary
Fetches results from a completed scrape job using a job ID. Parameters control whether to retrieve all results or a limited subset.
Inputs
- jobId (required) — The ID of the scrape job
- returnAll — Whether to return all results or only up to a given limit. Defaults to false.
- limit — Max number of results to return when returnAll is false. Defaults to 50, minimum value 1.
Output shape
Array of result objects. Each result's json property contains r.data if r.data is an object, otherwise r itself, sourced from the API response's results field.
If returnAll is true, up to 10,000 results are returned; otherwise, up to the specified limit (default 50). The API endpoint called is GET /api/jobs/results?jobId=...&limit=...
Examples
Example 1: Retrieve first 20 results for a given job ID
jobId provided, returnAll false, limit set to 20