provider logs POST /api/environments/{environment_id}/logs/group-by/
@utdk/posthog /api/environments/{environment_id}/logs/group-by/
environments_logs_group_by_create
environment_id path required
Deprecated. Use /api/projects/{project_id}/ instead.
string

Try it

Authentication
Configure credentials for PostHog API
environmentsLogsGroupByCreate
POST/api/environments/{environment_id}/logs/group-by/

Parameters

required

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

Input

required

The group-by query to execute.

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