PostHog · Capability

PostHog API — hog_flows

PostHog API — hog_flows. 42 operations. Lead operation: hog_flows. Self-contained Naftiko capability covering one Posthog business surface.

Run with Naftiko Posthoghog_flows

What You Can Do

GET
Environmentshogflowslist — environmentshogflowslist
/v1/api/environments/{environment-id}/hog-flows
POST
Environmentshogflowscreate — environmentshogflowscreate
/v1/api/environments/{environment-id}/hog-flows
POST
Environmentshogflowsbulkdeletecreate — environmentshogflowsbulkdeletecreate
/v1/api/environments/{environment-id}/hog-flows/bulk-delete
POST
Environmentshogflowsuserblastradiuscreate — environmentshogflowsuserblastradiuscreate
/v1/api/environments/{environment-id}/hog-flows/user-blast-radius
GET
Environmentshogflowsretrieve — environmentshogflowsretrieve
/v1/api/environments/{environment-id}/hog-flows/{id}
PUT
Environmentshogflowsupdate — environmentshogflowsupdate
/v1/api/environments/{environment-id}/hog-flows/{id}
PATCH
Environmentshogflowspartialupdate — environmentshogflowspartialupdate
/v1/api/environments/{environment-id}/hog-flows/{id}
DELETE
Environmentshogflowsdestroy — environmentshogflowsdestroy
/v1/api/environments/{environment-id}/hog-flows/{id}
GET
Environmentshogflowsbatchjobsretrieve — environmentshogflowsbatchjobsretrieve
/v1/api/environments/{environment-id}/hog-flows/{id}/batch-jobs
POST
Environmentshogflowsbatchjobscreate — environmentshogflowsbatchjobscreate
/v1/api/environments/{environment-id}/hog-flows/{id}/batch-jobs
GET
Environmentshogflowsblockedrunsretrieve — List workflow runs that were blocked by the dedup bug.
/v1/api/environments/{environment-id}/hog-flows/{id}/blocked-runs
POST
Environmentshogflowsinvocationscreate — environmentshogflowsinvocationscreate
/v1/api/environments/{environment-id}/hog-flows/{id}/invocations
GET
Environmentshogflowslogsretrieve — environmentshogflowslogsretrieve
/v1/api/environments/{environment-id}/hog-flows/{id}/logs
GET
Environmentshogflowsmetricsretrieve — environmentshogflowsmetricsretrieve
/v1/api/environments/{environment-id}/hog-flows/{id}/metrics
GET
Environmentshogflowsmetricstotalsretrieve — environmentshogflowsmetricstotalsretrieve
/v1/api/environments/{environment-id}/hog-flows/{id}/metrics/totals
POST
Environmentshogflowsreplayallblockedrunscreate — Replay all blocked runs in a single bulk call to Node.
/v1/api/environments/{environment-id}/hog-flows/{id}/replay-all-blocked-runs
POST
Environmentshogflowsreplayblockedruncreate — Replay a single blocked run. Django fetches the event, Node creates the invocation and writes the log.
/v1/api/environments/{environment-id}/hog-flows/{id}/replay-blocked-run
GET
Environmentshogflowsscheduleslist — environmentshogflowsscheduleslist
/v1/api/environments/{environment-id}/hog-flows/{id}/schedules
POST
Environmentshogflowsschedulescreate — environmentshogflowsschedulescreate
/v1/api/environments/{environment-id}/hog-flows/{id}/schedules
PATCH
Environmentshogflowsschedulespartialupdate — environmentshogflowsschedulespartialupdate
/v1/api/environments/{environment-id}/hog-flows/{id}/schedules/{schedule-id}
DELETE
Environmentshogflowsschedulesdestroy — environmentshogflowsschedulesdestroy
/v1/api/environments/{environment-id}/hog-flows/{id}/schedules/{schedule-id}
GET
Hogflowslist — hogflowslist
/v1/api/projects/{project-id}/hog-flows
POST
Hogflowscreate — hogflowscreate
/v1/api/projects/{project-id}/hog-flows
POST
Hogflowsbulkdeletecreate — hogflowsbulkdeletecreate
/v1/api/projects/{project-id}/hog-flows/bulk-delete
POST
Hogflowsuserblastradiuscreate — hogflowsuserblastradiuscreate
/v1/api/projects/{project-id}/hog-flows/user-blast-radius
GET
Hogflowsretrieve — hogflowsretrieve
/v1/api/projects/{project-id}/hog-flows/{id}
PUT
Hogflowsupdate — hogflowsupdate
/v1/api/projects/{project-id}/hog-flows/{id}
PATCH
Hogflowspartialupdate — hogflowspartialupdate
/v1/api/projects/{project-id}/hog-flows/{id}
DELETE
Hogflowsdestroy — hogflowsdestroy
/v1/api/projects/{project-id}/hog-flows/{id}
GET
Hogflowsbatchjobsretrieve — hogflowsbatchjobsretrieve
/v1/api/projects/{project-id}/hog-flows/{id}/batch-jobs
POST
Hogflowsbatchjobscreate — hogflowsbatchjobscreate
/v1/api/projects/{project-id}/hog-flows/{id}/batch-jobs
GET
Hogflowsblockedrunsretrieve — List workflow runs that were blocked by the dedup bug.
/v1/api/projects/{project-id}/hog-flows/{id}/blocked-runs
POST
Hogflowsinvocationscreate — hogflowsinvocationscreate
/v1/api/projects/{project-id}/hog-flows/{id}/invocations
GET
Hogflowslogsretrieve — hogflowslogsretrieve
/v1/api/projects/{project-id}/hog-flows/{id}/logs
GET
Hogflowsmetricsretrieve — hogflowsmetricsretrieve
/v1/api/projects/{project-id}/hog-flows/{id}/metrics
GET
Hogflowsmetricstotalsretrieve — hogflowsmetricstotalsretrieve
/v1/api/projects/{project-id}/hog-flows/{id}/metrics/totals
POST
Hogflowsreplayallblockedrunscreate — Replay all blocked runs in a single bulk call to Node.
/v1/api/projects/{project-id}/hog-flows/{id}/replay-all-blocked-runs
POST
Hogflowsreplayblockedruncreate — Replay a single blocked run. Django fetches the event, Node creates the invocation and writes the log.
/v1/api/projects/{project-id}/hog-flows/{id}/replay-blocked-run
GET
Hogflowsscheduleslist — hogflowsscheduleslist
/v1/api/projects/{project-id}/hog-flows/{id}/schedules
POST
Hogflowsschedulescreate — hogflowsschedulescreate
/v1/api/projects/{project-id}/hog-flows/{id}/schedules
PATCH
Hogflowsschedulespartialupdate — hogflowsschedulespartialupdate
/v1/api/projects/{project-id}/hog-flows/{id}/schedules/{schedule-id}
DELETE
Hogflowsschedulesdestroy — hogflowsschedulesdestroy
/v1/api/projects/{project-id}/hog-flows/{id}/schedules/{schedule-id}

MCP Tools

environmentshogflowslist

environmentshogflowslist

read-only idempotent
environmentshogflowscreate

environmentshogflowscreate

environmentshogflowsbulkdeletecreate

environmentshogflowsbulkdeletecreate

environmentshogflowsuserblastradiuscreate

environmentshogflowsuserblastradiuscreate

environmentshogflowsretrieve

environmentshogflowsretrieve

read-only idempotent
environmentshogflowsupdate

environmentshogflowsupdate

idempotent
environmentshogflowspartialupdate

environmentshogflowspartialupdate

idempotent
environmentshogflowsdestroy

environmentshogflowsdestroy

idempotent
environmentshogflowsbatchjobsretrieve

environmentshogflowsbatchjobsretrieve

read-only idempotent
environmentshogflowsbatchjobscreate

environmentshogflowsbatchjobscreate

list-workflow-runs-that-were

List workflow runs that were blocked by the dedup bug.

read-only idempotent
environmentshogflowsinvocationscreate

environmentshogflowsinvocationscreate

environmentshogflowslogsretrieve

environmentshogflowslogsretrieve

read-only idempotent
environmentshogflowsmetricsretrieve

environmentshogflowsmetricsretrieve

read-only idempotent
environmentshogflowsmetricstotalsretrieve

environmentshogflowsmetricstotalsretrieve

read-only idempotent
replay-all-blocked-runs-single

Replay all blocked runs in a single bulk call to Node.

replay-single-blocked-run-django

Replay a single blocked run. Django fetches the event, Node creates the invocation and writes the log.

read-only
environmentshogflowsscheduleslist

environmentshogflowsscheduleslist

read-only idempotent
environmentshogflowsschedulescreate

environmentshogflowsschedulescreate

environmentshogflowsschedulespartialupdate

environmentshogflowsschedulespartialupdate

idempotent
environmentshogflowsschedulesdestroy

environmentshogflowsschedulesdestroy

idempotent
hogflowslist

hogflowslist

read-only idempotent
hogflowscreate

hogflowscreate

hogflowsbulkdeletecreate

hogflowsbulkdeletecreate

hogflowsuserblastradiuscreate

hogflowsuserblastradiuscreate

hogflowsretrieve

hogflowsretrieve

read-only idempotent
hogflowsupdate

hogflowsupdate

idempotent
hogflowspartialupdate

hogflowspartialupdate

idempotent
hogflowsdestroy

hogflowsdestroy

idempotent
hogflowsbatchjobsretrieve

hogflowsbatchjobsretrieve

read-only idempotent
hogflowsbatchjobscreate

hogflowsbatchjobscreate

list-workflow-runs-that-were-2

List workflow runs that were blocked by the dedup bug.

read-only idempotent
hogflowsinvocationscreate

hogflowsinvocationscreate

hogflowslogsretrieve

hogflowslogsretrieve

read-only idempotent
hogflowsmetricsretrieve

hogflowsmetricsretrieve

read-only idempotent
hogflowsmetricstotalsretrieve

hogflowsmetricstotalsretrieve

read-only idempotent
replay-all-blocked-runs-single-2

Replay all blocked runs in a single bulk call to Node.

replay-single-blocked-run-django-2

Replay a single blocked run. Django fetches the event, Node creates the invocation and writes the log.

read-only
hogflowsscheduleslist

hogflowsscheduleslist

read-only idempotent
hogflowsschedulescreate

hogflowsschedulescreate

hogflowsschedulespartialupdate

hogflowsschedulespartialupdate

idempotent
hogflowsschedulesdestroy

hogflowsschedulesdestroy

idempotent

Capability Spec

posthog-hog-flows.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: PostHog API — hog_flows
  description: 'PostHog API — hog_flows. 42 operations. Lead operation: hog_flows. Self-contained Naftiko capability covering
    one Posthog business surface.'
  tags:
  - Posthog
  - hog_flows
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    POSTHOG_API_KEY: POSTHOG_API_KEY
capability:
  consumes:
  - type: http
    namespace: posthog-hog-flows
    baseUri: ''
    description: PostHog API — hog_flows business capability. Self-contained, no shared references.
    resources:
    - name: api-environments-environment_id-hog_flows
      path: /api/environments/{environment_id}/hog_flows/
      operations:
      - name: environmentshogflowslist
        method: GET
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: created_at
          in: query
          type: string
        - name: created_by
          in: query
          type: integer
        - name: id
          in: query
          type: string
        - name: limit
          in: query
          type: integer
          description: Number of results to return per page.
        - name: offset
          in: query
          type: integer
          description: The initial index from which to return the results.
        - name: updated_at
          in: query
          type: string
      - name: environmentshogflowscreate
        method: POST
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-environments-environment_id-hog_flows-bulk_delete
      path: /api/environments/{environment_id}/hog_flows/bulk_delete/
      operations:
      - name: environmentshogflowsbulkdeletecreate
        method: POST
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-environments-environment_id-hog_flows-user_blast_radius
      path: /api/environments/{environment_id}/hog_flows/user_blast_radius/
      operations:
      - name: environmentshogflowsuserblastradiuscreate
        method: POST
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-environments-environment_id-hog_flows-id
      path: /api/environments/{environment_id}/hog_flows/{id}/
      operations:
      - name: environmentshogflowsretrieve
        method: GET
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: A UUID string identifying this hog flow.
          required: true
      - name: environmentshogflowsupdate
        method: PUT
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: A UUID string identifying this hog flow.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: environmentshogflowspartialupdate
        method: PATCH
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: A UUID string identifying this hog flow.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: environmentshogflowsdestroy
        method: DELETE
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: A UUID string identifying this hog flow.
          required: true
    - name: api-environments-environment_id-hog_flows-id-batch_jobs
      path: /api/environments/{environment_id}/hog_flows/{id}/batch_jobs/
      operations:
      - name: environmentshogflowsbatchjobsretrieve
        method: GET
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: A UUID string identifying this hog flow.
          required: true
      - name: environmentshogflowsbatchjobscreate
        method: POST
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: A UUID string identifying this hog flow.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-environments-environment_id-hog_flows-id-blocked_runs
      path: /api/environments/{environment_id}/hog_flows/{id}/blocked_runs/
      operations:
      - name: environmentshogflowsblockedrunsretrieve
        method: GET
        description: List workflow runs that were blocked by the dedup bug.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: A UUID string identifying this hog flow.
          required: true
    - name: api-environments-environment_id-hog_flows-id-invocations
      path: /api/environments/{environment_id}/hog_flows/{id}/invocations/
      operations:
      - name: environmentshogflowsinvocationscreate
        method: POST
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: A UUID string identifying this hog flow.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-environments-environment_id-hog_flows-id-logs
      path: /api/environments/{environment_id}/hog_flows/{id}/logs/
      operations:
      - name: environmentshogflowslogsretrieve
        method: GET
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: after
          in: query
          type: string
          description: Only return entries after this ISO 8601 timestamp.
        - name: before
          in: query
          type: string
          description: Only return entries before this ISO 8601 timestamp.
        - name: id
          in: path
          type: string
          description: A UUID string identifying this hog flow.
          required: true
        - name: instance_id
          in: query
          type: string
          description: Filter logs to a specific execution instance.
        - name: level
          in: query
          type: string
          description: 'Comma-separated log levels to include, e.g. ''WARN,ERROR''. Valid levels: DEBUG, LOG, INFO, WARN,
            ERROR.'
        - name: limit
          in: query
          type: integer
          description: Maximum number of log entries to return (1-500, default 50).
        - name: search
          in: query
          type: string
          description: Case-insensitive substring search across log messages.
    - name: api-environments-environment_id-hog_flows-id-metrics
      path: /api/environments/{environment_id}/hog_flows/{id}/metrics/
      operations:
      - name: environmentshogflowsmetricsretrieve
        method: GET
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: after
          in: query
          type: string
          description: Start of the time range. Accepts relative formats like '-7d', '-24h' or ISO 8601 timestamps. Defaults
            to '-7d'.
        - name: before
          in: query
          type: string
          description: End of the time range. Same format as 'after'. Defaults to now.
        - name: breakdown_by
          in: query
          type: string
          description: Group the series by metric 'name' or 'kind'. Defaults to 'kind'.
        - name: id
          in: path
          type: string
          description: A UUID string identifying this hog flow.
          required: true
        - name: instance_id
          in: query
          type: string
          description: Filter metrics to a specific execution instance.
        - name: interval
          in: query
          type: string
          description: 'Time bucket size for the series. One of: hour, day, week. Defaults to ''day''.'
        - name: kind
          in: query
          type: string
          description: Comma-separated metric kinds to filter by, e.g. 'success,failure'.
        - name: name
          in: query
          type: string
          description: Comma-separated metric names to filter by.
    - name: api-environments-environment_id-hog_flows-id-metrics-totals
      path: /api/environments/{environment_id}/hog_flows/{id}/metrics/totals/
      operations:
      - name: environmentshogflowsmetricstotalsretrieve
        method: GET
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: after
          in: query
          type: string
          description: Start of the time range. Accepts relative formats like '-7d', '-24h' or ISO 8601 timestamps. Defaults
            to '-7d'.
        - name: before
          in: query
          type: string
          description: End of the time range. Same format as 'after'. Defaults to now.
        - name: breakdown_by
          in: query
          type: string
          description: Group the series by metric 'name' or 'kind'. Defaults to 'kind'.
        - name: id
          in: path
          type: string
          description: A UUID string identifying this hog flow.
          required: true
        - name: instance_id
          in: query
          type: string
          description: Filter metrics to a specific execution instance.
        - name: interval
          in: query
          type: string
          description: 'Time bucket size for the series. One of: hour, day, week. Defaults to ''day''.'
        - name: kind
          in: query
          type: string
          description: Comma-separated metric kinds to filter by, e.g. 'success,failure'.
        - name: name
          in: query
          type: string
          description: Comma-separated metric names to filter by.
    - name: api-environments-environment_id-hog_flows-id-replay_all_blocked_runs
      path: /api/environments/{environment_id}/hog_flows/{id}/replay_all_blocked_runs/
      operations:
      - name: environmentshogflowsreplayallblockedrunscreate
        method: POST
        description: Replay all blocked runs in a single bulk call to Node.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: A UUID string identifying this hog flow.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-environments-environment_id-hog_flows-id-replay_blocked_run
      path: /api/environments/{environment_id}/hog_flows/{id}/replay_blocked_run/
      operations:
      - name: environmentshogflowsreplayblockedruncreate
        method: POST
        description: Replay a single blocked run. Django fetches the event, Node creates the invocation and writes the log.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: A UUID string identifying this hog flow.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-environments-environment_id-hog_flows-id-schedules
      path: /api/environments/{environment_id}/hog_flows/{id}/schedules/
      operations:
      - name: environmentshogflowsscheduleslist
        method: GET
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: created_at
          in: query
          type: string
        - name: created_by
          in: query
          type: integer
        - name: id
          in: path
          type: string
          description: A UUID string identifying this hog flow.
          required: true
        - name: id
          in: query
          type: string
        - name: limit
          in: query
          type: integer
          description: Number of results to return per page.
        - name: offset
          in: query
          type: integer
          description: The initial index from which to return the results.
        - name: updated_at
          in: query
          type: string
      - name: environmentshogflowsschedulescreate
        method: POST
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: created_at
          in: query
          type: string
        - name: created_by
          in: query
          type: integer
        - name: id
          in: path
          type: string
          description: A UUID string identifying this hog flow.
          required: true
        - name: id
          in: query
          type: string
        - name: limit
          in: query
          type: integer
          description: Number of results to return per page.
        - name: offset
          in: query
          type: integer
          description: The initial index from which to return the results.
        - name: updated_at
          in: query
          type: string
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-environments-environment_id-hog_flows-id-schedules-schedule_id
      path: /api/environments/{environment_id}/hog_flows/{id}/schedules/{schedule_id}/
      operations:
      - name: environmentshogflowsschedulespartialupdate
        method: PATCH
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: A UUID string identifying this hog flow.
          required: true
        - name: schedule_id
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: environmentshogflowsschedulesdestroy
        method: DELETE
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: A UUID string identifying this hog flow.
          required: true
        - name: schedule_id
          in: path
          type: string
          required: true
    - name: api-projects-project_id-hog_flows
      path: /api/projects/{project_id}/hog_flows/
      operations:
      - name: hogflowslist
        method: GET
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: created_at
          in: query
          type: string
        - name: created_by
          in: query
          type: integer
        - name: id
          in: query
          type: string
        - name: limit
          in: query
          type: integer
          description: Number of results to return per page.
        - name: offset
          in: query
          type: integer
          description: The initial index from which to return the results.
        - name: updated_at
          in: query
          type: string
      - name: hogflowscreate
        method: POST
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-projects-project_id-hog_flows-bulk_delete
      path: /api/projects/{project_id}/hog_flows/bulk_delete/
      operations:
      - name: hogflowsbulkdeletecreate
        method: POST
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-projects-project_id-hog_flows-user_blast_radius
      path: /api/projects/{project_id}/hog_flows/user_blast_radius/
      operations:
      - name: hogflowsuserblastradiuscreate
        method: POST
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-projects-project_id-hog_flows-id
      path: /api/projects/{project_id}/hog_flows/{id}/
      operations:
      - name: hogflowsretrieve
        method: GET
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: A UUID string identifying this hog flow.
          required: true
      - name: hogflowsupdate
        method: PUT
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: A UUID string identifying this hog flow.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: hogflowspartialupdate
        method: PATCH
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: A UUID string identifying this hog flow.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: hogflowsdestroy
        method: DELETE
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: A UUID string identifying this hog flow.
          required: true
    - name: api-projects-project_id-hog_flows-id-batch_jobs
      path: /api/projects/{project_id}/hog_flows/{id}/batch_jobs/
      operations:
      - name: hogflowsbatchjobsretrieve
        method: GET
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: A UUID string identifying this hog flow.
          required: true
      - name: hogflowsbatchjobscreate
        method: POST
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: A UUID string identifying this hog flow.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-projects-project_id-hog_flows-id-blocked_runs
      path: /api/projects/{project_id}/hog_flows/{id}/blocked_runs/
      operations:
      - name: hogflowsblockedrunsretrieve
        method: GET
        description: List workflow runs that were blocked by the dedup bug.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: A UUID string identifying this hog flow.
          required: true
    - name: api-projects-project_id-hog_flows-id-invocations
      path: /api/projects/{project_id}/hog_flows/{id}/invocations/
      operations:
      - name: hogflowsinvocationscreate
        method: POST
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: A UUID string identifying this hog flow.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-projects-project_id-hog_flows-id-logs
      path: /api/projects/{project_id}/hog_flows/{id}/logs/
      operations:
      - name: hogflowslogsretrieve
        method: GET
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: after
          in: query
          type: string
          description: Only return entries after this ISO 8601 timestamp.
        - name: before
          in: query
          type: string
          description: Only return entries before this ISO 8601 timestamp.
        - name: id
          in: path
          type: string
          description: A UUID string identifying this hog flow.
          required: true
        - name: instance_id
          in: query
          type: string
          description: Filter logs to a specific execution instance.
        - name: level
          in: query
          type: string
          description: 'Comma-separated log levels to include, e.g. ''WARN,ERROR''. Valid levels: DEBUG, LOG, INFO, WARN,
            ERROR.'
        - name: limit
          in: query
          type: integer
          description: Maximum number of log entries to return (1-500, default 50).
        - name: search
          in: query
          type: string
          description: Case-insensitive substring search across log messages.
    - name: api-projects-project_id-hog_flows-id-metrics
      path: /api/projects/{project_id}/hog_flows/{id}/metrics/
      operations:
      - name: hogflowsmetricsretrieve
        method: GET
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: after
          in: query
          type: string
          description: Start of the time range. Accepts relative formats like '-7d', '-24h' or ISO 8601 timestamps. Defaults
            to '-7d'.
        - name: before
          in: query
          type: string
          description: End of the time range. Same format as 'after'. Defaults to now.
        - name: breakdown_by
          in: query
          type: string
          description: Group the series by metric 'name' or 'kind'. Defaults to 'kind'.
        - name: id
          in: path
          type: string
          description: A UUID string identifying this hog flow.
          required: true
        - name: instance_id
          in: query
          type: string
          description: Filter metrics to a specific execution instance.
        - name: interval
          in: query
          type: string
          description: 'Time bucket size for the series. One of: hour, day, week. Defaults to ''day''.'
        - name: kind
          in: query
          type: string
          description: Comma-separated metric kinds to filter by, e.g. 'success,failure'.
        - name: name
          in: query
          type: string
          description: Comma-separated metric names to filter by.
    - name: api-projects-project_id-hog_flows-id-metrics-totals
      path: /api/projects/{project_id}/hog_flows/{id}/metrics/totals/
      operations:
      - name: hogflowsmetricstotalsretrieve
        method: GET
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: after
          in: query
          type: string
          description: Start of the time range. Accepts relative formats like '-7d', '-24h' or ISO 8601 timestamps. Defaults
            to '-7d'.
        - name: before
          in: query
          type: string
          description: End of the time range. Same format as 'after'. Defaults to now.
        - name: breakdown_by
          in: query
          type: string
          description: Group the series by metric 'name' or 'kind'. Defaults to 'kind'.
        - name: id
          in: path
          type: string
          description: A UUID string identifying this hog flow.
          required: true
        - name: instance_id
          in: query
          type: string
          description: Filter metrics to a specific execution instance.
        - name: interval
          in: query
          type: string
          description: 'Time bucket size for the series. One of: hour, day, week. Defaults to ''day''.'
        - name: kind
          in: query
          type: string
          description: Comma-separated metric kinds to filter by, e.g. 'success,failure'.
        - name: name
          in: query
          type: string
          description: Comma-separated metric names to filter by.
    - name: api-projects-project_id-hog_flows-id-replay_all_blocked_runs
      path: /api/projects/{project_id}/hog_flows/{id}/replay_all_blocked_runs/
      operations:
      - name: hogflowsreplayallblockedrunscreate
        method: POST
        description: Replay all blocked runs in a single bulk call to Node.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: A UUID string identifying this hog flow.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-projects-project_id-hog_flows-id-replay_blocked_run
      path: /api/projects/{project_id}/hog_flows/{id}/replay_blocked_run/
      operations:
      - name: hogflowsreplayblockedruncreate
        method: POST
        description: Replay a single blocked run. Django fetches the event, Node creates the invocation and writes the log.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: A UUID string identifying this hog flow.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-projects-project_id-hog_flows-id-schedules
      path: /api/projects/{project_id}/hog_flows/{id}/schedules/
      operations:
      - name: hogflowsscheduleslist
        method: GET
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: created_at
          in: query
          type: string
        - name: created_by
          in: query
          type: integer
        - name: id
          in: path
          type: string
          description: A UUID string identifying this hog flow.
          required: true
        - name: id
          in: query
          type: string
        - name: limit
          in: query
          type: integer
          description: Number of results to return per page.
        - name: offset
          in: query
          type: integer
          description: The initial index from which to return the results.
        - name: updated_at
          in: query
          type: string
      - name: hogflowsschedulescreate
        method: POST
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: created_at
          in: query
          type: string
        - name: created_by
          in: query
          type: integer
        - name: id
          in: path
          type: string
          description: A UUID string identifying this hog flow.
          required: true
        - name: id
          in: query
          type: string
        - name: limit
          in: query
          type: integer
          description: Number of results to return per page.
        - name: offset
          in: query
          type: integer
          description: The initial index from which to return the results.
        - name: updated_at
          in: query
          type: string
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-projects-project_id-hog_flows-id-schedules-schedule_id
      path: /api/projects/{project_id}/hog_flows/{id}/schedules/{schedule_id}/
      operations:
      - name: hogflowsschedulespartialupdate
        method: PATCH
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: A UUID string identifying this hog flow.
          required: true
        - name: schedule_id
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: hogflowsschedulesdestroy
        method: DELETE
        description: ''
        outputRawForm

# --- truncated at 32 KB (71 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/posthog/refs/heads/main/capabilities/posthog-hog-flows.yaml