public-api
public-alerts

Resolve an alert

Resolve an alert - mark as fixed.

Accepts optional resolution metadata: action_category, root_cause_category, pr_url, and other fields from ResolutionFields.

SDK Usage:

from anomalyarmor import Client
client = Client()
result = client.alerts.resolve(
    "alert-uuid",
    notes="Fixed the pipeline",
    action_category="updated_sql",
    root_cause_category="pipeline_failure",
    pr_url="https://github.com/org/repo/pull/123",
)
post/api/v1/sdk/alerts/{alert_id}/resolve

Request

  • Base URL: http://localhost:8000
  • URL: http://localhost:8000/api/v1/sdk/alerts/{alert_id}/resolve
  • Auth: none declared

Path parameters

alert_idstring required

Headers

Authorizationstring

Request body

action_categorystring nullable
action_detailstring nullable
root_cause_categorystring nullable
root_cause_detailstring nullable
pr_urlstring nullable
job_run_idstring nullable
external_linkstring nullable
suggestion_pattern_idstring uuid nullable
suggestion_was_helpfulboolean nullable
notesstring nullable

Optional resolution notes

Response

Successful Response

successboolean required
dataunknown
messagestring nullable
errorstring nullable
metaobject nullable

Changes

No recorded changes to this operation across all 1 revision of this API.