provider logs PATCH
/api/environments/{environment_id}/logs/alerts/{id}/ @utdk/posthog
/api/environments/{environment_id}/logs/alerts/{id}/ environments_logs_alerts_partial_update
- environment_id path required
- Deprecated. Use /api/projects/{project_id}/ instead.
- string
- id path required
- A UUID string identifying this logs alert configuration.
- 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.environmentsLogsAlertsPartialUpdate({
"enabled": true,
"threshold_count": 100,
"threshold_operator": "above",
"window_minutes": 5,
"evaluation_periods": 1,
"datapoints_to_alarm": 1,
"cooldown_minutes": 0
})