provider logs POST /api/projects/{project_id}/logs/sampling_rules/{id}/simulate/
@utdk/posthog /api/projects/{project_id}/logs/sampling_rules/{id}/simulate/
logs_sampling_rules_simulate_create
Dry-run estimate for how much volume this rule would remove (placeholder response until CH-backed simulation is wired).
id path required
A UUID string identifying this logs exclusion rule.
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
logsSamplingRulesSimulateCreate
POST/api/projects/{project_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

A UUID string identifying this logs exclusion rule.

required

Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.

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