PostHog Workflows API

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

Operations 42

GET /api/environments/{environment_id}/hog_flows/ Environments hog flows list #
POST /api/environments/{environment_id}/hog_flows/ Environments hog flows create #
GET /api/environments/{environment_id}/hog_flows/{id}/ Environments hog flows retrieve #
PUT /api/environments/{environment_id}/hog_flows/{id}/ Environments hog flows update #
PATCH /api/environments/{environment_id}/hog_flows/{id}/ Environments hog flows partial update #
DELETE /api/environments/{environment_id}/hog_flows/{id}/ Environments hog flows destroy #
GET /api/environments/{environment_id}/hog_flows/{id}/batch_jobs/ Environments hog flows batch jobs retrieve #
POST /api/environments/{environment_id}/hog_flows/{id}/batch_jobs/ Environments hog flows batch jobs create #
GET /api/environments/{environment_id}/hog_flows/{id}/blocked_runs/ Environments hog flows blocked runs retrieve #
POST /api/environments/{environment_id}/hog_flows/{id}/invocations/ Environments hog flows invocations create #
GET /api/environments/{environment_id}/hog_flows/{id}/logs/ Environments hog flows logs retrieve #
GET /api/environments/{environment_id}/hog_flows/{id}/metrics/ Environments hog flows metrics retrieve #
GET /api/environments/{environment_id}/hog_flows/{id}/metrics/totals/ Environments hog flows metrics totals retrieve #
POST /api/environments/{environment_id}/hog_flows/{id}/replay_all_blocked_runs/ Environments hog flows replay all blocked runs create #
POST /api/environments/{environment_id}/hog_flows/{id}/replay_blocked_run/ Environments hog flows replay blocked run create #
GET /api/environments/{environment_id}/hog_flows/{id}/schedules/ Environments hog flows schedules list #
POST /api/environments/{environment_id}/hog_flows/{id}/schedules/ Environments hog flows schedules create #
PATCH /api/environments/{environment_id}/hog_flows/{id}/schedules/{schedule_id}/ Environments hog flows schedules partial update #
DELETE /api/environments/{environment_id}/hog_flows/{id}/schedules/{schedule_id}/ Environments hog flows schedules destroy #
POST /api/environments/{environment_id}/hog_flows/bulk_delete/ Environments hog flows bulk delete create #
POST /api/environments/{environment_id}/hog_flows/user_blast_radius/ Environments hog flows user blast radius create #
GET /api/projects/{project_id}/hog_flows/ Hog flows list #
POST /api/projects/{project_id}/hog_flows/ Hog flows create #
GET /api/projects/{project_id}/hog_flows/{id}/ Hog flows retrieve #
PUT /api/projects/{project_id}/hog_flows/{id}/ Hog flows update #
PATCH /api/projects/{project_id}/hog_flows/{id}/ Hog flows partial update #
DELETE /api/projects/{project_id}/hog_flows/{id}/ Hog flows destroy #
GET /api/projects/{project_id}/hog_flows/{id}/batch_jobs/ Hog flows batch jobs retrieve #
POST /api/projects/{project_id}/hog_flows/{id}/batch_jobs/ Hog flows batch jobs create #
GET /api/projects/{project_id}/hog_flows/{id}/blocked_runs/ Hog flows blocked runs retrieve #
POST /api/projects/{project_id}/hog_flows/{id}/invocations/ Hog flows invocations create #
GET /api/projects/{project_id}/hog_flows/{id}/logs/ Hog flows logs retrieve #
GET /api/projects/{project_id}/hog_flows/{id}/metrics/ Hog flows metrics retrieve #
GET /api/projects/{project_id}/hog_flows/{id}/metrics/totals/ Hog flows metrics totals retrieve #
POST /api/projects/{project_id}/hog_flows/{id}/replay_all_blocked_runs/ Hog flows replay all blocked runs create #
POST /api/projects/{project_id}/hog_flows/{id}/replay_blocked_run/ Hog flows replay blocked run create #
GET /api/projects/{project_id}/hog_flows/{id}/schedules/ Hog flows schedules list #
POST /api/projects/{project_id}/hog_flows/{id}/schedules/ Hog flows schedules create #
PATCH /api/projects/{project_id}/hog_flows/{id}/schedules/{schedule_id}/ Hog flows schedules partial update #
DELETE /api/projects/{project_id}/hog_flows/{id}/schedules/{schedule_id}/ Hog flows schedules destroy #
POST /api/projects/{project_id}/hog_flows/bulk_delete/ Hog flows bulk delete create #
POST /api/projects/{project_id}/hog_flows/user_blast_radius/ Hog flows user blast radius create #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/posthog-workflows-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

posthog-workflows-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: PostHog Workflows API
  version: 1.0.0
  description: ''
tags:


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