hog_flows

get/api/projects/{project_id}/hog_flows/{id}/invocation_results/

Request

  • Base URL: https://us.posthog.com
  • URL: https://us.posthog.com/api/projects/{project_id}/hog_flows/{id}/invocation_results/
  • Auth: HTTP bearer

Path parameters

idstring uuid required

A UUID string identifying this hog flow.

project_idstring required

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

Query parameters

afterstring

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.

beforestring

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

distinct_idstring

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

error_message_containsstring

Only return invocations whose latest error_message contains this substring (case-insensitive). Matches the rerun endpoint's filter of the same name, so callers can check what a rerun would target.

limitinteger

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

statusstring

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

Response

invocation_idstring required
statusstring required
error_kindstring required
error_messagestring required
distinct_idstring required
person_idstring required
scheduled_atstring date-time required
started_atstring date-time nullable required
finished_atstring date-time nullable required
duration_msinteger nullable required
attemptsinteger required
is_retryboolean required

Changes

No recorded changes to this operation across all 1 revision of this API.