provider hog_flows GET /api/environments/{environment_id}/hog_flows/metrics/global/
@utdk/posthog /api/environments/{environment_id}/hog_flows/metrics/global/
environments_hog_flows_metrics_global_retrieve
after query
Start of the window, matched on metric time. Relative ('-7d', '-24h') or ISO 8601. Defaults to -7d.
string
before query
End of the window. Same format as 'after'. Defaults to now.
string
environment_id path required
Deprecated. Use /api/projects/{project_id}/ instead.
string

Try it

Authentication
Configure credentials for PostHog API
environmentsHogFlowsMetricsGlobalRetrieve
GET/api/environments/{environment_id}/hog_flows/metrics/global/

Parameters

required

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

Start of the window, matched on metric time. Relative ('-7d', '-24h') or ISO 8601. Defaults to -7d.

End of the window. Same format as 'after'. Defaults to now.

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.environmentsHogFlowsMetricsGlobalRetrieve({
  "after": "-7d"
})