provider logs POST /api/environments/{environment_id}/logs/sampling_rules/{id}/simulate/
@utdk/posthog /api/environments/{environment_id}/logs/sampling_rules/{id}/simulate/
environments_logs_sampling_rules_simulate_create
Dry-run estimate for how much volume this rule would remove (placeholder response until CH-backed simulation is wired).
environment_id path required
Deprecated. Use /api/projects/{project_id}/ instead.
string
id path required
A UUID string identifying this logs exclusion rule.
string

Try it

Authentication
Configure credentials for PostHog API
environmentsLogsSamplingRulesSimulateCreate
POST/api/environments/{environment_id}/logs/sampling_rules/{id}/simulate/
Dry-run estimate for how much volume this rule would remove (placeholder response until CH-backed simulation is wired).

Parameters

required

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

required

A UUID string identifying this logs exclusion rule.

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