get_job
Retrieve status and progress for background offline download or archive extraction jobs by job ID, optionally blocking up to 25 seconds for completion.
Instructions
Get the status and progress of a background job (offline download or archive extraction). wait=true blocks up to 25 seconds for it to finish.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait | No | wait up to 25 seconds for the job to finish | |
| job_id | Yes | job UUID returned by fetch_url or extract_archive |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| url | No | ||
| kind | Yes | fetch_url or extract_archive | |
| title | Yes | file name once known, otherwise the link's host; archive name for extraction | |
| status | Yes | queued, running, done, failed or canceled | |
| parent_id | No | target folder; omitted means the root | |
| bytes_done | Yes | ||
| created_at | Yes | ||
| error_code | No | why it failed; on success GOT_HTML means the server returned a web page instead of a file | |
| files_done | No | ||
| bytes_total | No | ||
| files_total | No | ||
| finished_at | No | ||
| error_message | No | ||
| files_skipped | No | archive entries skipped: unsafe paths, links or invalid names | |
| result_node_id | No | the downloaded file, or the folder files were extracted into |