API · v1 · stable
CODEMETA OSDeveloper Center
FR
Ouvrir la console
Entité · escalation_alerts

Escalation Alert Schema

ID du schéma
escalation_alert
Collection
escalation_alerts
Autorisations
  • Lireescalation_alert_view
  • Créerescalation_alert_manage
  • Modifierescalation_alert_manage
  • Supprimerescalation_alert_manage

Champs

Escalation Alert Schema

escalation_alerts4 autorisations

Schema for validating escalation alert entities with full lifecycle tracking

sourceTypestringobligatoire

Origin that created this alert

SERVICE_TARGETENTITY_DEADLINESTATUS_TIME_LIMITMANUALWEBHOOKMONITORANALYTICS
sourceIdstringfacultatif

ID of the source rule, webhook, or monitor

nullable
linkedEntityTypestringobligatoire

Schema of the linked entity (e.g. ticket, asset)

linkedEntityIduuidobligatoire

UUID of the linked entity

linkedEntityTitlestringobligatoire

Cached title of the linked entity for display

max. 500 caractères
titlestringobligatoire

Alert title

1–500 caractères
descriptionstringfacultatif

Alert description with additional context

nullable
notificationI18nobjectfacultatif

ADR 1033 — catalog kind + params the in-app notification of this alert is rendered from, in each recipient's language. Absent on older alerts and on alerts created elsewhere (their `title`/`description` are used as is).

nullable
kindstringfacultatif

Kind of the notifications catalog (`<kind>.title` / `<kind>.body`)

max. 100 caractères
paramsobjectfacultatif

Interpolation params of that kind (JSON-safe values)

prioritystringobligatoire

Alert priority

LOWNORMALHIGHCRITICAL
statusstringobligatoire

Current alert status

OPENACKNOWLEDGEDSNOOZEDRESOLVEDAUTO_RESOLVEDMUTED
escalationPolicyIduuidobligatoire

Escalation policy UUID governing this alert

currentLevelintegerobligatoire

Current escalation level

≥ 1
escalatedAtdatetimefacultatif

Timestamp of the last escalation

nullable
acknowledgedByuuidfacultatif

User UUID who acknowledged the alert

nullable
acknowledgedAtdatetimefacultatif

When the alert was acknowledged

nullable
acknowledgedViastringfacultatif

Channel through which the alert was acknowledged

PUSHEMAILCALLWEB
nullable
resolvedByuuidfacultatif

User UUID who resolved the alert

nullable
resolvedAtdatetimefacultatif

When the alert was resolved

nullable
resolutionNotestringfacultatif

Free-text resolution note

max. 2000 caractèresnullable
mutedUntildatetimefacultatif

Mute expiry timestamp

nullable
mutedByuuidfacultatif

User UUID who muted the alert

nullable
muteReasonstringfacultatif

Reason for muting the alert

max. 500 caractèresnullable
deduplicationKeystringobligatoire

Key used to deduplicate alerts from the same source

max. 500 caractèreslecture seule
snoozedUntildatetimefacultatif

Snooze expiry timestamp

nullable
ackTokenstringfacultatif

One-time token for email/external acknowledgement links

lecture seulenullable
ackTokenExpiresAtdatetimefacultatif

Expiry timestamp for the acknowledgement token

lecture seulenullable
timelineobject[]facultatif

Chronological timeline of alert lifecycle events

Par défaut : []lecture seule
_idstringfacultatif

UUIDv7 timeline entry ID

lecture seule
timestampdatetimeobligatoire

When this event occurred

eventstringobligatoire

Timeline event type

alert_creatednotification_sentnotification_deliverednotification_failedescalatedacknowledgedreassignedsnoozedsnooze_expiredresolvedauto_resolvedmutedunmutedcomment_addedcall_answeredcall_unanswered
actorIdstringfacultatif

User UUID who triggered this event

nullable
actorNamestringfacultatif

Cached display name of the actor

nullable
metaobjectfacultatif

Event-specific metadata

nullable

Endpoints standard

Cette ressource suit le contrat CRUD générique de la plateforme. Lisez les conventions pour la pagination, l'idempotence, le verrouillage optimiste et l'audit. Les endpoints principaux :

  • GET /api/v1/escalation_alerts — Liste, paginée et filtrable
  • GET /api/v1/escalation_alerts/<id> — Une entité
  • POST /api/v1/escalation_alerts — Créer
  • PATCH /api/v1/escalation_alerts/<id> — Mise à jour partielle
  • DELETE /api/v1/escalation_alerts/<id> — Suppression logique
  • GET /api/v1/escalation_alerts/<id>/timeline — Audit et activités

Recherche