provider alerts GET
/api/projects/{project_id}/alerts/{id}/ @utdk/posthog
/api/projects/{project_id}/alerts/{id}/ 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
- id path required
- A UUID string identifying this alert configuration.
- string
- 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
Try it
Authentication
Configure credentials for PostHog API
Code snippet
Updates live as you fill in the form above.
TypeScript
import posthog from '@utdk/posthog';
await posthog.alertsRetrieve()