spidra_get_job
Retrieve the status and result of scrape, search, batch, crawl, parse, or template-run jobs by ID, including failed-item counts and paginated rows. Check running jobs every 10-15 seconds.
Instructions
Get any job's status, and its result once finished. Use it for the ids other tools return when they don't wait to the end.
"scrape", "search": a jobId. Readable for about an hour after it finishes (failed ones 24 hours); after that, use spidra_logs.
"batch": a batchId. A completed batch can still have failed items; check "failedCount".
"crawl": a jobId. Returns the first 100 pages; spidra_crawl_pages reads the rest.
"parse": a jobId. "includePages" adds each page's Markdown.
"parse_batch": a batchId.
"template_run": a runId. Rows come back with the template's columns ("detail": "full" for every field) and page with "offset" and "limit".
Check every 10 to 15 seconds while it runs. Statuses: queued, waiting, active and running are still in progress; completed, partial, failed and cancelled are final.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The job's id (jobId, batchId or runId) | |
| type | Yes | What kind of job | |
| limit | No | Rows to return (default 50) | |
| detail | No | "columns" (default) returns each row with just the template's table columns; "full" returns every field (Google Maps rows have about 50) | |
| offset | No | Rows to skip (default 0) | |
| includePages | No | parse: also return each page's Markdown |