provider alerts GET /api/projects/{project_id}/alerts/
@utdk/posthog /api/projects/{project_id}/alerts/
alerts_list
created_by query
Optional. Restrict results to alerts created by the user with this UUID.
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
project_id path required
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
string
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
alertsList
GET/api/projects/{project_id}/alerts/

Parameters

required

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

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.alertsList()