provider logs GET
/api/projects/{project_id}/logs/alerts/{id}/events/ @utdk/posthog
/api/projects/{project_id}/logs/alerts/{id}/events/ logs_alerts_events_list
Paginated event history for this alert, newest first. Returns state transitions, errored checks, and user-initiated control-plane rows (reset, enable/disable, snooze/unsnooze, threshold change) — quiet no-op check rows (where state didn't change and there was no error) are filtered out since only the last 10 are kept and they carry no forensic value. Optional `?kind=...` narrows to a single kind.
- id path required
- A UUID string identifying this logs alert configuration.
- string
- 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
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.logsAlertsEventsList()