read
automation

Returns active alerts for the current store. By default returns only open (unresolved) alerts ordered by severity and de

Changed on

Returns active alerts for the current store. By default returns only open (unresolved) alerts ordered by severity and detection time. Use to answer questions like "what is wrong with my store?" or "are there any critical issues?".

post/api/v1/tools/get_alerts

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
severity, 'critical' | 'warning' | 'info'

Optional: filter to a specific severity level.

status, 'open' | 'all'

open = unresolved only (default); all = include resolved.

limit, integer

Max results (default 20, max 50).

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