Actions3
Get Results
AI-generatedSummary
Fetch results from a completed Weld scrape job.
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; defaults to 50 and is only used when returnAll is false; minimum is 1
Output shape
An array of result objects. Each result's json field contains the raw data (r.data if it is an object, otherwise r directly). If returnAll is false (default), up to the specified limit is returned; if true, up to 10,000 results are returned.
The operation performs a GET request to /api/jobs/results?jobId={jobId}&limit={limit}. The returned array length and content are governed by the returnAll and limit parameters as handled by the node's source.
Examples
Example 1: Retrieve up to 20 comments for a specific job ID.
Set jobId to the scrape job's ID, leave returnAll as false, and set limit to 20.