provider hog_flows GET
/api/environments/{environment_id}/hog_flows/{id}/invocation_results/ @utdk/posthog
/api/environments/{environment_id}/hog_flows/{id}/invocation_results/ environments_hog_flows_invocation_results_retrieve
- after query
- Start of the time range, matched on scheduled time. Relative ('-7d', '-24h') or ISO 8601. Defaults to -7d — bounds the ClickHouse partition scan, so widen it explicitly for older runs.
- string
- before query
- End of the time range, matched on scheduled time. Same format as 'after'. Defaults to now.
- string
- distinct_id query
- Only return invocations triggered for this distinct_id (the person the run executed for).
- string
- environment_id path required
- Deprecated. Use /api/projects/{project_id}/ instead.
- string
- id path required
- A UUID string identifying this hog flow.
- string
- limit query
- Maximum number of invocations to return (1-500, default 50).
- integer
- status query
- Comma-separated invocation statuses to include, e.g. 'failed' or 'success,failed'.
- string
Try it
Authentication
Configure credentials for PostHog API
Code snippet
Updates live as you fill in the form above.
TypeScript
import posthog from '@utdk/posthog';
await posthog.environmentsHogFlowsInvocationResultsRetrieve({
"after": "-7d",
"limit": 50
})