error-alert-rules

Create a new alert rule

Changed on
post/projects/{project_id}/error-alert-rules

Request

  • Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/projects/{project_id}/error-alert-rules
  • Auth: none declared

Path parameters

project_idinteger required

Project ID

Request body

cooldown_minutesinteger

Minimum minutes between notifications for same rule+group

enabledboolean
environment_filterinteger nullable

Optional environment ID to filter alerts

error_level_filterstring nullable

Optional error type/level filter

namestring required
notification_prioritystring

Notification priority: Low, Normal, High, Critical

trigger_configunknown
trigger_typestring required

Trigger type: new_issue, regression, frequency, new_user, user_count, status_change

Response

Alert rule created

cooldown_minutesinteger required
created_atstring required
enabledboolean required
environment_filterinteger nullable
error_level_filterstring nullable
idinteger required
namestring required
notification_prioritystring required
project_idinteger required
trigger_configunknown required
trigger_typestring required
updated_atstring required

Changes