provider hog_flows GET /api/projects/{project_id}/hog_flows/metrics/global/
@utdk/posthog /api/projects/{project_id}/hog_flows/metrics/global/
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
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
hogFlowsMetricsGlobalRetrieve
GET/api/projects/{project_id}/hog_flows/metrics/global/

Parameters

required

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

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