Check batch progress
get_check_batch_progressProgress of the checks run_checks started for a project, and of the first checks of its new queries: how many of the queries selected are done (every pass readable), failed (the check failed, was cancelled or did not finish within 6 hours) or were not admitted (refused for budget, subscription or a concurrent check, or the query was gone, paused or already checked). Summed over the latest run of batches: the newest batch, in progress or finished, and every batch whose run overlapped it (one requested before the other finished), up to 500; each query counted once, and completedAt set once every batch of the run finished; every field null when the project has no batch in the last 90 days. Later scheduled checks are not counted. Answers "are my checks done", "did the checks I ran finish", "are my new queries checked yet".
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": {
"organizationId": "<organizationId>",
"projectId": "<projectId>"
},
"name": "get_check_batch_progress"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | Yes | ||
| organizationId | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| done | Yes | ||
| failed | Yes | ||
| batchId | Yes | The newest batch counted; null when the project has no batch. | |
| queryCount | Yes | Tracked queries the batches counted selected; done + failed + notAdmitted once completedAt is set; the one exception is a lock refusal that closed the batch and that a later admission of the same tracked query replaced, which counts as pending until that check settles, with completedAt unchanged. | |
| completedAt | Yes | When the run's last query settled (its check's capture or failure, or the 6-hour expiry); null while a batch counted is in progress. | |
| notAdmitted | Yes | ||
| requestedAt | Yes | When the oldest batch counted was requested, ISO 8601. |