provider max_tools POST /api/environments/{environment_id}/max_tools/create_and_query_insight/
@utdk/posthog /api/environments/{environment_id}/max_tools/create_and_query_insight/
environments_max_tools_create_and_query_insight_create
environment_id path required
Deprecated. Use /api/projects/{project_id}/ instead.
string

Try it

Authentication
Configure credentials for PostHog API
environmentsMaxToolsCreateAndQueryInsightCreate
POST/api/environments/{environment_id}/max_tools/create_and_query_insight/

Parameters

required

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

Input

required
required

* `trends` - trends * `funnel` - funnel * `retention` - retention * `sql` - sql

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