capabilities.work

Triage Latest Alerts

A 2-step recipe with Socket. We can help you get access.

Recipe · 2 steps

Triage Latest Alerts

with Socket

List latest alerts and triage the first matching alert when present.

  1. List the latest alerts for the organization filtered by action, returning a page of alert items keyed by their alert key.
  2. Create a triage action targeting the first alert key with the requested triage state and note.
What you'll need to have ready
  • orgSlug: The slug of the organization.
  • alertAction: Comma-separated alert actions to include (error, warn, monitor, ignore).
  • triageState: The triage state to apply (block, ignore, inherit, monitor, warn).
  • note: A note recorded with the triage action.
For your developer

Arazzo workflow socket-dev:triage-latest-alerts, 2 operations: alertsList → updateOrgAlertTriage. Specs on APIs.io.