Get the state of a job
scout_get_jobGet the state of a job: status, estimate, approval, settlement, and error. Poll every 5 to 10 minutes until the status is COMPLETED, FAILED, or CANCELLED. The time depends on the number of products, because DeepScout fetches the pages at a rate that the e-shop accepts. The usual times, with the wait in the queue, are:
setup: from a few minutes to 3 hours.
scraping: 1 to 2 hours for a few thousand products, several hours for 20,000, and up to 1 day for 100,000 or more.
matching: 1 hour for 1,000 products, 4 to 15 hours for 10,000, 1 to 2 days for 50,000.
EXPORTING, the last status: up to 1 hour. scrape_progress.percent and matching_progress.percent show the progress. matching_progress.estimated_minutes_left shows the time left. In the queue and in some phases, the progress does not change. A job without an error is not stuck: tell the user about a problem only if the job FAILED.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"job_kind": "<job_kind>",
"job_id": "<job_id>"
},
"name": "scout_get_job"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | ||
| job_kind | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |