read

Returns recent worker job run statuses for the current store. Use to diagnose why a sync, classify, or decide job did no

Returns recent worker job run statuses for the current store. Use to diagnose why a sync, classify, or decide job did not run, or to check the health of scheduled background tasks. Filters by time window, job name, or status (running/succeeded/failed).

post/api/v1/tools/get_job_runs

Request

  • Base URL: https://app.magistry.io
  • URL: https://app.magistry.io/api/v1/tools/get_job_runs
  • Auth: one of:
    • HTTP bearer
    • OAuth 2 (authorization code, authorization URL https://app.magistry.io/api/oauth/authorize, token URL https://app.magistry.io/api/oauth/token, scopes: automation:read)

Request body

window_hoursinteger

How many hours back to look (default 24, max 168 = 7 days).

job_namestring

Optional: filter to a specific job name (e.g. "sync-catalog", "classify", "decide").

status'running' | 'succeeded' | 'failed'

Optional: filter to a specific run status.

Response

Tool result

okboolean required
resultunknown required

Changes

No recorded changes to this operation across all 2 revisions of this API.