provider alerts GET /api/environments/{environment_id}/alerts/
@utdk/posthog /api/environments/{environment_id}/alerts/
environments_alerts_list
created_by query
Optional. Restrict results to alerts created by the user with this UUID.
string
environment_id path required
Deprecated. Use /api/projects/{project_id}/ instead.
string
insight_id query
Optional. Restrict results to alerts on this insight ID.
integer
limit query
Number of results to return per page.
integer
offset query
The initial index from which to return the results.
integer
search query
Optional. Fuzzy match against alert `name` using Postgres trigram word similarity (handles typos, transpositions, and prefix-as-you-type). Results are ordered by relevance, then creation time. Capped at 200 characters; longer queries return a 400 error.
string

Try it

Authentication
Configure credentials for PostHog API
environmentsAlertsList
GET/api/environments/{environment_id}/alerts/

Parameters

required

Deprecated. Use /api/projects/{project_id}/ instead.

Optional. Restrict results to alerts created by the user with this UUID.

Optional. Restrict results to alerts on this insight ID.

Number of results to return per page.

The initial index from which to return the results.

Optional. Fuzzy match against alert `name` using Postgres trigram word similarity (handles typos, transpositions, and prefix-as-you-type). Results are ordered by relevance, then creation time. Capped at 200 characters; longer queries return a 400 error.

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import posthog from '@utdk/posthog';

await posthog.environmentsAlertsList()