get_job_check
Track the status of background jobs by job ID using this tool. Retrieve results for completed tasks, identify failures, or determine if a job is still processing, aborted, or unknown.
Instructions
Check the status and results of a job
Status can be:
- working: background job is currently in work or does not exist.
- success: background job was successfully finished.
- failed: background job failed for some reason (see message for more details).
- aborted: background job was aborted.
- unknown: unknown background job id. Available only when force is set to true for input request.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
api_key | No | PDF.co API key. If not provided, will use X_API_KEY environment variable. (Optional) | |
job_id | Yes | The ID of the job to get the status of |
Input Schema (JSON Schema)
{
"properties": {
"api_key": {
"default": "",
"description": "PDF.co API key. If not provided, will use X_API_KEY environment variable. (Optional)",
"title": "Api Key",
"type": "string"
},
"job_id": {
"description": "The ID of the job to get the status of",
"title": "Job Id",
"type": "string"
}
},
"required": [
"job_id"
],
"type": "object"
}