provider logs POST /api/environments/{environment_id}/logs/sampling_rules/reorder/
@utdk/posthog /api/environments/{environment_id}/logs/sampling_rules/reorder/
environments_logs_sampling_rules_reorder_create
Atomically reassign priorities so the given ID order maps to ascending priorities (0..n-1).
environment_id path required
Deprecated. Use /api/projects/{project_id}/ instead.
string
limit query
Number of results to return per page.
integer
offset query
The initial index from which to return the results.
integer

Try it

Authentication
Configure credentials for PostHog API
environmentsLogsSamplingRulesReorderCreate
POST/api/environments/{environment_id}/logs/sampling_rules/reorder/
Atomically reassign priorities so the given ID order maps to ascending priorities (0..n-1).

Parameters

required

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

Number of results to return per page.

The initial index from which to return the results.

Input

required

Rule IDs in the desired evaluation order (first element is highest priority / lowest order index).

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