Skip to main content

Mark Alert Read

POST 

/api/support/agent/alerts/:alert/read

Marks one of the caller's alerts read. Marking an alert that is already read changes nothing. The caller's other open sessions receive the new unread count in real time.

Required scope: support:write

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Path parameters

  • alert (integer) — the alert id.

Returns the alert. 404 when the alert does not exist or belongs to another agent.

Alert fields

  • id (integer)
  • kind (string) — approval (an approval card is waiting on you), approval_reminder (still waiting 24 hours after the last alert), runner (the autopilot runner reported a problem), ai_stale (an AI-owned ticket has shown no sign of life for 4 hours), ai_error (the AI agent hit an error on a ticket)
  • title (string, max 160)
  • body (string, nullable)
  • url (string) — a path inside the agent console to open, e.g. /?ticket=3521 (the ticket with its approval card) or /
  • ticket_id (integer, nullable)
  • approval_id (integer, nullable) — the approval card the alert is about
  • created_at (ISO-8601)
  • read_at (ISO-8601, nullable) — null while unread

Request​

Responses​

OK

Response Headers
    Content-Type