error_tracking

put/api/projects/{project_id}/error_tracking/alerts/{id}/

Request

  • Base URL: https://us.posthog.com
  • URL: https://us.posthog.com/api/projects/{project_id}/error_tracking/alerts/{id}/
  • Auth: HTTP bearer

Path parameters

idstring required
project_idstring required

Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.

Request body

namestring required

Human-readable name of the alert.

triggersTriggersEnum[] required

Issue lifecycle events that open a notification thread for an issue.

throttle_secondsinteger

Minimum seconds between thread-opening notifications per issue, at most 30 days. 0 disables the throttle.

enabledboolean

Whether the alert fires notifications. Defaults to enabled.

Response

idstring uuid required

Unique identifier of the alert.

namestring required

Human-readable name of the alert.

enabledboolean required

Whether the alert currently fires notifications.

triggersTriggersEnum[] required

Issue lifecycle events that open a notification thread for an issue.

throttle_secondsinteger required

Minimum seconds between thread-opening notifications per issue. 0 disables the throttle.

created_atstring date-time required

When the alert was created.

updated_atstring date-time required

When the alert was last updated.

Changes

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