Get Job Status
get_job_statusCheck the status and progress of background jobs like document analysis or project export. Returns job state, progress, and results when completed.
Instructions
Look up the status and progress of a background job previously started by queue_document_analysis, queue_project_analysis, or another async tool. Returns the job state (queued, running, completed, failed), progress, and result when finished. Poll this after enqueuing work; use cancel_job to stop a job.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobId | Yes | The job id returned when the job was enqueued. | |
| jobType | Yes | The kind of job, as returned when the job was enqueued. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Failure reason when the job failed or was not found. | |
| state | Yes | Current job state (e.g. queued, running, completed, failed, not_found). | |
| result | No | Job result when the job has completed. | |
| progress | Yes | Completion progress of the job. |