provider alerts GET /api/environments/{environment_id}/alerts/{id}/
@utdk/posthog /api/environments/{environment_id}/alerts/{id}/
environments_alerts_retrieve
checks_date_from query
Relative date string for the start of the check history window (e.g. '-24h', '-7d', '-14d'). Returns checks created after this time. Max retention is 14 days.
string
checks_date_to query
Relative date string for the end of the check history window (e.g. '-1h', '-1d'). Defaults to now if not specified.
string
checks_limit query
Maximum number of check results to return (default 5, max 500). Applied after date filtering.
integer
checks_offset query
Number of newest checks to skip (0-based). Use with checks_limit for pagination. Default 0.
integer
environment_id path required
Deprecated. Use /api/projects/{project_id}/ instead.
string
id path required
A UUID string identifying this alert configuration.
string

Try it

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

Parameters

required

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

required

A UUID string identifying this alert configuration.

Relative date string for the start of the check history window (e.g. '-24h', '-7d', '-14d'). Returns checks created after this time. Max retention is 14 days.

Relative date string for the end of the check history window (e.g. '-1h', '-1d'). Defaults to now if not specified.

Maximum number of check results to return (default 5, max 500). Applied after date filtering.

Number of newest checks to skip (0-based). Use with checks_limit for pagination. Default 0.

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