error_tracking

patch/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

Human-readable name of the alert. Omit to keep the current name.

enabledboolean

Whether the alert fires notifications. Omit to keep the current state.

triggersTriggersEnum[]

Issue lifecycle events that open a notification thread. Omit to keep the current triggers.

throttle_secondsinteger

Minimum seconds between thread-opening notifications per issue, at most 30 days. Omit to keep the current value.

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.