sync_status
Poll a sync job's status by job ID to get state, scanned/ingested counts, and file errors. Stale or invalid job IDs raise an error.
Instructions
Poll a sync job started by sync_start.
Returns state ('pending' | 'running' | 'succeeded' | 'failed'), counts (scanned/ingested/skipped/deleted/unreadable/failed), and any per-file errors. Only the latest job is retained — an old jobId, or any jobId from before a server restart, raises an error.
unreadable counts indexed sources this installation cannot read because an optional extra is absent (images need [ocr]); each one appears in errors saying it was kept rather than deleted, but it is not a failure and does not make the job fail.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobId | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||