read
automation

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

Changed on

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
  • Auth
    • HTTP bearer
    • or OAuth 2
      Authorization codehttps://app.magistry.io/api/oauth/authorize
      Token URLhttps://app.magistry.io/api/oauth/token
      Scopesautomation:read

Request body

object required
window_hours, integer

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

job_name, string

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

object required
ok, boolean required
result, unknown required

Changes

    • warning

      added the new method_not_allowed enum value to the error response property for the response status

    • warning

      added the new method_not_allowed enum value to the error response property for the response status

    • warning

      added the new method_not_allowed enum value to the error response property for the response status

    11 more changes in this revision