PostHog hog_flows API

The hog_flows API from PostHog — 28 operation(s) for hog_flows.

OpenAPI Specification

posthog-hog-flows-api-openapi.yml Raw ↑
openapi: 3.0.3
info:
  title: PostHog actions hog_flows API
  version: 1.0.0
  description: ''
tags:
- name: hog_flows
paths:
  /api/environments/{environment_id}/hog_flows/:
    get:
      operationId: environments_hog_flows_list
      parameters:
      - in: query
        name: created_at
        schema:
          type: string
          format: date-time
      - in: query
        name: created_by
        schema:
          type: integer
      - $ref: '#/components/parameters/EnvironmentIdPath'
      - in: query
        name: id
        schema:
          type: string
          format: uuid
      - name: limit
        required: false
        in: query
        description: Number of results to return per page.
        schema:
          type: integer
      - name: offset
        required: false
        in: query
        description: The initial index from which to return the results.
        schema:
          type: integer
      - in: query
        name: updated_at
        schema:
          type: string
          format: date-time
      tags:
      - hog_flows
      security:
      - PersonalAPIKeyAuth:
        - hog_flow:read
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedHogFlowMinimalList'
          description: ''
      deprecated: true
      x-explicit-tags:
      - workflows
    post:
      operationId: environments_hog_flows_create
      parameters:
      - $ref: '#/components/parameters/EnvironmentIdPath'
      tags:
      - hog_flows
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/HogFlow'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/HogFlow'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/HogFlow'
        required: true
      security:
      - PersonalAPIKeyAuth:
        - hog_flow:write
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HogFlow'
          description: ''
      deprecated: true
      x-explicit-tags:
      - workflows
  /api/environments/{environment_id}/hog_flows/{id}/:
    get:
      operationId: environments_hog_flows_retrieve
      parameters:
      - $ref: '#/components/parameters/EnvironmentIdPath'
      - in: path
        name: id
        schema:
          type: string
          format: uuid
        description: A UUID string identifying this hog flow.
        required: true
      tags:
      - hog_flows
      security:
      - PersonalAPIKeyAuth:
        - hog_flow:read
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HogFlow'
          description: ''
      deprecated: true
      x-explicit-tags:
      - workflows
    put:
      operationId: environments_hog_flows_update
      parameters:
      - $ref: '#/components/parameters/EnvironmentIdPath'
      - in: path
        name: id
        schema:
          type: string
          format: uuid
        description: A UUID string identifying this hog flow.
        required: true
      tags:
      - hog_flows
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/HogFlow'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/HogFlow'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/HogFlow'
        required: true
      security:
      - PersonalAPIKeyAuth:
        - hog_flow:write
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HogFlow'
          description: ''
      deprecated: true
      x-explicit-tags:
      - workflows
    patch:
      operationId: environments_hog_flows_partial_update
      parameters:
      - $ref: '#/components/parameters/EnvironmentIdPath'
      - in: path
        name: id
        schema:
          type: string
          format: uuid
        description: A UUID string identifying this hog flow.
        required: true
      tags:
      - hog_flows
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PatchedHogFlow'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/PatchedHogFlow'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/PatchedHogFlow'
      security:
      - PersonalAPIKeyAuth:
        - hog_flow:write
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HogFlow'
          description: ''
      deprecated: true
      x-explicit-tags:
      - workflows
    delete:
      operationId: environments_hog_flows_destroy
      parameters:
      - $ref: '#/components/parameters/EnvironmentIdPath'
      - in: path
        name: id
        schema:
          type: string
          format: uuid
        description: A UUID string identifying this hog flow.
        required: true
      tags:
      - hog_flows
      security:
      - PersonalAPIKeyAuth:
        - hog_flow:write
      responses:
        '204':
          description: No response body
      deprecated: true
      x-explicit-tags:
      - workflows
  /api/environments/{environment_id}/hog_flows/{id}/batch_jobs/:
    get:
      operationId: environments_hog_flows_batch_jobs_retrieve
      parameters:
      - $ref: '#/components/parameters/EnvironmentIdPath'
      - in: path
        name: id
        schema:
          type: string
          format: uuid
        description: A UUID string identifying this hog flow.
        required: true
      tags:
      - hog_flows
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HogFlow'
          description: ''
      deprecated: true
      x-explicit-tags:
      - workflows
    post:
      operationId: environments_hog_flows_batch_jobs_create
      parameters:
      - $ref: '#/components/parameters/EnvironmentIdPath'
      - in: path
        name: id
        schema:
          type: string
          format: uuid
        description: A UUID string identifying this hog flow.
        required: true
      tags:
      - hog_flows
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/HogFlow'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/HogFlow'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/HogFlow'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HogFlow'
          description: ''
      deprecated: true
      x-explicit-tags:
      - workflows
  /api/environments/{environment_id}/hog_flows/{id}/blocked_runs/:
    get:
      operationId: environments_hog_flows_blocked_runs_retrieve
      description: List workflow runs that were blocked by the dedup bug.
      parameters:
      - $ref: '#/components/parameters/EnvironmentIdPath'
      - in: path
        name: id
        schema:
          type: string
          format: uuid
        description: A UUID string identifying this hog flow.
        required: true
      tags:
      - hog_flows
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HogFlow'
          description: ''
      deprecated: true
      x-explicit-tags:
      - workflows
  /api/environments/{environment_id}/hog_flows/{id}/invocations/:
    post:
      operationId: environments_hog_flows_invocations_create
      parameters:
      - $ref: '#/components/parameters/EnvironmentIdPath'
      - in: path
        name: id
        schema:
          type: string
          format: uuid
        description: A UUID string identifying this hog flow.
        required: true
      tags:
      - hog_flows
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/HogFlow'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/HogFlow'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/HogFlow'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HogFlow'
          description: ''
      deprecated: true
      x-explicit-tags:
      - workflows
  /api/environments/{environment_id}/hog_flows/{id}/logs/:
    get:
      operationId: environments_hog_flows_logs_retrieve
      parameters:
      - in: query
        name: after
        schema:
          type: string
          format: date-time
        description: Only return entries after this ISO 8601 timestamp.
      - in: query
        name: before
        schema:
          type: string
          format: date-time
        description: Only return entries before this ISO 8601 timestamp.
      - $ref: '#/components/parameters/EnvironmentIdPath'
      - in: path
        name: id
        schema:
          type: string
          format: uuid
        description: A UUID string identifying this hog flow.
        required: true
      - in: query
        name: instance_id
        schema:
          type: string
          minLength: 1
        description: Filter logs to a specific execution instance.
      - in: query
        name: level
        schema:
          type: string
          minLength: 1
        description: 'Comma-separated log levels to include, e.g. ''WARN,ERROR''. Valid levels: DEBUG, LOG, INFO, WARN, ERROR.'
      - in: query
        name: limit
        schema:
          type: integer
          maximum: 500
          minimum: 1
          default: 50
        description: Maximum number of log entries to return (1-500, default 50).
      - in: query
        name: search
        schema:
          type: string
          minLength: 1
        description: Case-insensitive substring search across log messages.
      tags:
      - hog_flows
      security:
      - PersonalAPIKeyAuth:
        - hog_flow:read
      responses:
        '200':
          description: No response body
      deprecated: true
      x-explicit-tags:
      - workflows
  /api/environments/{environment_id}/hog_flows/{id}/metrics/:
    get:
      operationId: environments_hog_flows_metrics_retrieve
      parameters:
      - in: query
        name: after
        schema:
          type: string
          default: -7d
          minLength: 1
        description: Start of the time range. Accepts relative formats like '-7d', '-24h' or ISO 8601 timestamps. Defaults to '-7d'.
      - in: query
        name: before
        schema:
          type: string
          minLength: 1
        description: End of the time range. Same format as 'after'. Defaults to now.
      - in: query
        name: breakdown_by
        schema:
          enum:
          - name
          - kind
          type: string
          default: kind
          minLength: 1
        description: 'Group the series by metric ''name'' or ''kind''. Defaults to ''kind''.


          * `name` - name

          * `kind` - kind'
      - $ref: '#/components/parameters/EnvironmentIdPath'
      - in: path
        name: id
        schema:
          type: string
          format: uuid
        description: A UUID string identifying this hog flow.
        required: true
      - in: query
        name: instance_id
        schema:
          type: string
          minLength: 1
        description: Filter metrics to a specific execution instance.
      - in: query
        name: interval
        schema:
          enum:
          - hour
          - day
          - week
          type: string
          default: day
          minLength: 1
        description: 'Time bucket size for the series. One of: hour, day, week. Defaults to ''day''.


          * `hour` - hour

          * `day` - day

          * `week` - week'
      - in: query
        name: kind
        schema:
          type: string
          minLength: 1
        description: Comma-separated metric kinds to filter by, e.g. 'success,failure'.
      - in: query
        name: name
        schema:
          type: string
          minLength: 1
        description: Comma-separated metric names to filter by.
      tags:
      - hog_flows
      security:
      - PersonalAPIKeyAuth:
        - hog_flow:read
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AppMetricsResponse'
          description: ''
      deprecated: true
      x-explicit-tags:
      - workflows
  /api/environments/{environment_id}/hog_flows/{id}/metrics/totals/:
    get:
      operationId: environments_hog_flows_metrics_totals_retrieve
      parameters:
      - in: query
        name: after
        schema:
          type: string
          default: -7d
          minLength: 1
        description: Start of the time range. Accepts relative formats like '-7d', '-24h' or ISO 8601 timestamps. Defaults to '-7d'.
      - in: query
        name: before
        schema:
          type: string
          minLength: 1
        description: End of the time range. Same format as 'after'. Defaults to now.
      - in: query
        name: breakdown_by
        schema:
          enum:
          - name
          - kind
          type: string
          default: kind
          minLength: 1
        description: 'Group the series by metric ''name'' or ''kind''. Defaults to ''kind''.


          * `name` - name

          * `kind` - kind'
      - $ref: '#/components/parameters/EnvironmentIdPath'
      - in: path
        name: id
        schema:
          type: string
          format: uuid
        description: A UUID string identifying this hog flow.
        required: true
      - in: query
        name: instance_id
        schema:
          type: string
          minLength: 1
        description: Filter metrics to a specific execution instance.
      - in: query
        name: interval
        schema:
          enum:
          - hour
          - day
          - week
          type: string
          default: day
          minLength: 1
        description: 'Time bucket size for the series. One of: hour, day, week. Defaults to ''day''.


          * `hour` - hour

          * `day` - day

          * `week` - week'
      - in: query
        name: kind
        schema:
          type: string
          minLength: 1
        description: Comma-separated metric kinds to filter by, e.g. 'success,failure'.
      - in: query
        name: name
        schema:
          type: string
          minLength: 1
        description: Comma-separated metric names to filter by.
      tags:
      - hog_flows
      security:
      - PersonalAPIKeyAuth:
        - hog_flow:read
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AppMetricsTotalsResponse'
          description: ''
      deprecated: true
      x-explicit-tags:
      - workflows
  /api/environments/{environment_id}/hog_flows/{id}/replay_all_blocked_runs/:
    post:
      operationId: environments_hog_flows_replay_all_blocked_runs_create
      description: Replay all blocked runs in a single bulk call to Node.
      parameters:
      - $ref: '#/components/parameters/EnvironmentIdPath'
      - in: path
        name: id
        schema:
          type: string
          format: uuid
        description: A UUID string identifying this hog flow.
        required: true
      tags:
      - hog_flows
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/HogFlow'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/HogFlow'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/HogFlow'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HogFlow'
          description: ''
      deprecated: true
      x-explicit-tags:
      - workflows
  /api/environments/{environment_id}/hog_flows/{id}/replay_blocked_run/:
    post:
      operationId: environments_hog_flows_replay_blocked_run_create
      description: Replay a single blocked run. Django fetches the event, Node creates the invocation and writes the log.
      parameters:
      - $ref: '#/components/parameters/EnvironmentIdPath'
      - in: path
        name: id
        schema:
          type: string
          format: uuid
        description: A UUID string identifying this hog flow.
        required: true
      tags:
      - hog_flows
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/HogFlow'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/HogFlow'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/HogFlow'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HogFlow'
          description: ''
      deprecated: true
      x-explicit-tags:
      - workflows
  /api/environments/{environment_id}/hog_flows/{id}/schedules/:
    get:
      operationId: environments_hog_flows_schedules_list
      parameters:
      - in: query
        name: created_at
        schema:
          type: string
          format: date-time
      - in: query
        name: created_by
        schema:
          type: integer
      - $ref: '#/components/parameters/EnvironmentIdPath'
      - in: path
        name: id
        schema:
          type: string
          format: uuid
        description: A UUID string identifying this hog flow.
        required: true
      - in: query
        name: id
        schema:
          type: string
          format: uuid
      - name: limit
        required: false
        in: query
        description: Number of results to return per page.
        schema:
          type: integer
      - name: offset
        required: false
        in: query
        description: The initial index from which to return the results.
        schema:
          type: integer
      - in: query
        name: updated_at
        schema:
          type: string
          format: date-time
      tags:
      - hog_flows
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedHogFlowScheduleList'
          description: ''
      deprecated: true
      x-explicit-tags:
      - workflows
    post:
      operationId: environments_hog_flows_schedules_create
      parameters:
      - in: query
        name: created_at
        schema:
          type: string
          format: date-time
      - in: query
        name: created_by
        schema:
          type: integer
      - $ref: '#/components/parameters/EnvironmentIdPath'
      - in: path
        name: id
        schema:
          type: string
          format: uuid
        description: A UUID string identifying this hog flow.
        required: true
      - in: query
        name: id
        schema:
          type: string
          format: uuid
      - name: limit
        required: false
        in: query
        description: Number of results to return per page.
        schema:
          type: integer
      - name: offset
        required: false
        in: query
        description: The initial index from which to return the results.
        schema:
          type: integer
      - in: query
        name: updated_at
        schema:
          type: string
          format: date-time
      tags:
      - hog_flows
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/HogFlow'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/HogFlow'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/HogFlow'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedHogFlowScheduleList'
          description: ''
      deprecated: true
      x-explicit-tags:
      - workflows
  /api/environments/{environment_id}/hog_flows/{id}/schedules/{schedule_id}/:
    patch:
      operationId: environments_hog_flows_schedules_partial_update
      parameters:
      - $ref: '#/components/parameters/EnvironmentIdPath'
      - in: path
        name: id
        schema:
          type: string
          format: uuid
        description: A UUID string identifying this hog flow.
        required: true
      - in: path
        name: schedule_id
        schema:
          type: string
        required: true
      tags:
      - hog_flows
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PatchedHogFlow'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/PatchedHogFlow'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/PatchedHogFlow'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HogFlow'
          description: ''
      deprecated: true
      x-explicit-tags:
      - workflows
    delete:
      operationId: environments_hog_flows_schedules_destroy
      parameters:
      - $ref: '#/components/parameters/EnvironmentIdPath'
      - in: path
        name: id
        schema:
          type: string
          format: uuid
        description: A UUID string identifying this hog flow.
        required: true
      - in: path
        name: schedule_id
        schema:
          type: string
        required: true
      tags:
      - hog_flows
      responses:
        '204':
          description: No response body
      deprecated: true
      x-explicit-tags:
      - workflows
  /api/environments/{environment_id}/hog_flows/bulk_delete/:
    post:
      operationId: environments_hog_flows_bulk_delete_create
      parameters:
      - $ref: '#/components/parameters/EnvironmentIdPath'
      tags:
      - hog_flows
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/HogFlow'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/HogFlow'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/HogFlow'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HogFlow'
          description: ''
      deprecated: true
      x-explicit-tags:
      - workflows
  /api/environments/{environment_id}/hog_flows/user_blast_radius/:
    post:
      operationId: environments_hog_flows_user_blast_radius_create
      parameters:
      - $ref: '#/components/parameters/EnvironmentIdPath'
      tags:
      - hog_flows
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BlastRadiusRequest'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/BlastRadiusRequest'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/BlastRadiusRequest'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BlastRadius'
          description: ''
      deprecated: true
      x-explicit-tags:
      - workflows
  /api/projects/{project_id}/hog_flows/:
    get:
      operationId: hog_flows_list
      parameters:
      - in: query
        name: created_at
        schema:
          type: string
          format: date-time
      - in: query
        name: created_by
        schema:
          type: integer
      - in: query
        name: id
        schema:
          type: string
          format: uuid
      - name: limit
        required: false
        in: query
        description: Number of results to return per page.
        schema:
          type: integer
      - name: offset
        required: false
        in: query
        description: The initial index from which to return the results.
        schema:
          type: integer
      - $ref: '#/components/parameters/ProjectIdPath'
      - in: query
        name: updated_at
        schema:
          type: string
          format: date-time
      tags:
      - hog_flows
      security:
      - PersonalAPIKeyAuth:
        - hog_flow:read
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedHogFlowMinimalList'
          description: ''
      x-explicit-tags:
      - workflows
    post:
      operationId: hog_flows_create
      parameters:
      - $ref: '#/components/parameters/ProjectIdPath'
      tags:
      - hog_flows
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/HogFlow'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/HogFlow'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/HogFlow'
        required: true
      security:
      - PersonalAPIKeyAuth:
        - hog_flow:write
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HogFlow'
          description: ''
      x-explicit-tags:
      - workflows
  /api/projects/{project_id}/hog_flows/{id}/:
    get:
      operationId: hog_flows_retrieve
      parameters:
      - in: path
        name: id
        schema:
          type: string
          format: uuid
        description: A UUID string identifying this hog flow.
        required: true
      - $ref: '#/components/parameters/ProjectIdPath'
      tags:
      - hog_flows
      security:
      - PersonalAPIKeyAuth:
        - hog_flow:read
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HogFlow'
          description: ''
      x-explicit-tags:
      - workflows
    put:
      operationId: hog_flows_update
      parameters:
      - in: path
        name: id
        schema:
          type: string
          format: uuid
        description: A UUID string identifying this hog flow.
        required: true
      - $ref: '#/components/parameters/ProjectIdPath'
      tags:
      - hog_flows
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/HogFlow'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/HogFlow'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/HogFlow'
        required: true
      security:
      - PersonalAPIKeyAuth:
        - hog_flow:write
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HogFlow'
          description: ''
      x-explicit-tags:
      - workflows
    patch:
      operationId: hog_flows_partial_update
      parameters:
      - in: path
        name: id
        schema:
          type: string
          format: uuid
        description: A UUID string identifying this hog flow.
        required: true
      - $ref: '#/components/parameters/ProjectIdPath'
      tags:
      - hog_flows
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PatchedHogFlow'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/PatchedHogFlow'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/PatchedHogFlow'
      security:
      - PersonalAPIKeyAuth:
        - hog_flow:write
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HogFlow'
          description: ''
      x-explicit-tags:
      - workflows
    delete:
      operationId: hog_flows_destroy
      parameters:
      - in: path
        name: id
        schema:
          type: string
          format: uuid
        description: A UUID string identifying this hog flow.
        required: true
      - $ref: '#/components/parameters/ProjectIdPath'
      tags:
      - hog_flows
      security:
      - PersonalAPIKeyAuth:
        - hog_flow:write
      responses:
        '204':
          description: No response body
      x-explicit-tags:
      - workflows
  /api/projects/{project_id}/hog_flows/{id}/batch_jobs/:
    get:
      operationId: hog_flows_batch_jobs_retrieve
      parameters:
      - in: path
        name: id
        schema:
          type: string
          format: uuid
        description: A UUID string identifying this hog flow.
        required: true
      - $ref: '#/components/parameters/ProjectIdPath'
      tags:
      - hog_flows
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HogFlow'
          description: ''
      x-explicit-tags:
      - workflows
    post:
      operationId: hog_flows_batch_jobs_create
      parameters:
      - in: path
        name: id
        schema:
          type: string
          format: uuid
        description: A UUID string identifying this hog flow.
        required: true
      - $ref: '#/components/parameters/ProjectIdPath'
      tags:
      - hog_flows
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/HogFlow'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/HogFlow'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/HogFlow'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HogFlow'
          description: ''
      x-explicit-tags:
      - workflows
  /api/projects/{project_id}/hog_flows/{id}/blocked_runs/:
    get:
      operationId: hog_flows_blocked_runs_retrieve
      description: List workflow runs that were blocked by the dedup bug.
      parameters:
      - in: path
        name: id
        schema:
          type: string
          format: uuid
        description: A UUID string identifying this hog flow.
        required: true
      - $ref: '#/components/parameters/ProjectIdPath'
      tags:
      - hog_flows
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HogFlow'
          description: ''
      x-explicit-tags:
      - workflows
  /api/projects/{project_id}/hog_flows/{id}/invocations/:
    post:
      operationId: hog_flows_invocations_create
      parameters:
      - in: path
        name: id
        schema:
          type: string
          format: uuid
        description: A UUID string identifying this hog flow.
        required: true
      - $ref: '#/components/parameters/ProjectIdPath'
      tags:
      - hog_flows
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/HogFlow'
          application/x-www-form-urlencoded:
  

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