provider hog_flows GET /api/projects/{project_id}/hog_flows/{id}/invocation_results/
@utdk/posthog /api/projects/{project_id}/hog_flows/{id}/invocation_results/
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
id path required
A UUID string identifying this hog flow.
string
limit query
Maximum number of invocations to return (1-500, default 50).
integer
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
status query
Comma-separated invocation statuses to include, e.g. 'failed' or 'success,failed'.
string

Try it

Authentication
Configure credentials for PostHog API
hogFlowsInvocationResultsRetrieve
GET/api/projects/{project_id}/hog_flows/{id}/invocation_results/

Parameters

required

A UUID string identifying this hog flow.

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 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.

End of the time range, matched on scheduled time. Same format as 'after'. Defaults to now.

Only return invocations triggered for this distinct_id (the person the run executed for).

Maximum number of invocations to return (1-500, default 50).

Comma-separated invocation statuses to include, e.g. 'failed' or 'success,failed'.

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.hogFlowsInvocationResultsRetrieve({
  "after": "-7d",
  "limit": 50
})