> ## Documentation Index
> Fetch the complete documentation index at: https://docs.honeyhive.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Alerts Methods

> HoneyHive TypeScript Control Plane SDK Alerts namespace reference

#### create

> **create**(`request`: [`CreateAlertRequest`](/v2/control-plane-sdk-reference/typescript/ref/alerts/CreateAlertRequest)): `Promise`\<[`CreateAlertResponse`](/v2/control-plane-sdk-reference/typescript/ref/alerts/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`](/v2/control-plane-sdk-reference/typescript/ref/alerts/GetAlertRequest)): `Promise`\<[`GetAlertResponse`](/v2/control-plane-sdk-reference/typescript/ref/alerts/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`](/v2/control-plane-sdk-reference/typescript/ref/alerts/ListAlertsRequest)): `Promise`\<[`ListAlertsResponse`](/v2/control-plane-sdk-reference/typescript/ref/alerts/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).
