Skip to main content

create

create(request: CreateAlertRequest): Promise<CreateAlertResponse>
Create an alert Create an alert in a project. The project is identified by the project_id path parameter alone; the x-hh-project-id header does not participate. The alert’s filters and projections (metrics) are mapped against the project’s logged-event schema; if no schema data matches them — e.g. no events have been logged to the project yet — the request fails with a 400.

get

get(request: GetAlertRequest): Promise<GetAlertResponse>
Get an alert Retrieve a single alert by id, including its thresholds, triggers, and notification configuration. The alert’s project is identified by the project_id path parameter alone; the x-hh-project-id header does not participate.

list

list(request: ListAlertsRequest): Promise<ListAlertsResponse>
List alerts List the alerts in a project. The project is identified by the project_id path parameter alone; the x-hh-project-id header does not participate. Supports offset pagination, an optional status filter, and sorting (defaults to most recently created first).