Follow a long-running job
get_jobCheck on a job a long tool handed back -- a crawl from crawl_site, a run from start_run or recrawl_pages, or a batch from scrape_urls -- and, once it has finished, return the same result the original tool would have given; while it is still going, its status and counts. Call it when a tool answered with status 'running' and a job; calling the original tool again is not needed and would not start a second job. For a crawl it is also how to read further: url returns one page in full (even mid-crawl) and cursor the next window of pages. For a project's stored pages use get_page instead. Free: it only reads stored results and never fetches.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The job's id, from that 'job' object, or a crawl_site answer's crawl_id. | |
| url | No | Crawls only: one page's URL from the crawl's index, to read that page in full. | |
| kind | Yes | What the job is: 'crawl' (crawl_site), 'run' (start_run, recrawl_pages) or 'batch' (scrape_urls); the 'job' object a tool returned names it. | |
| cursor | No | Crawls only: the cursor a previous crawl answer returned, to read the next window of pages. | |
| project_id | No | Required for a run: the project it belongs to (the 'job' object carries it). Ignored for a crawl or a batch. |