Flow Hub
The platform that stores, schedules and runs flows.
Flow Hub is the platform counterpart to flow: it stores flows, runs them on demand or on a schedule, and streams their output back to clients.
Where to start
- Architecture — how the server, queue, database and blob storage fit.
- Flow execution — how flows are isolated while they run.
- Configuration — the
FLOW_*environment variables. - Deployment — running locally and in production.
Calling the API
The hub is internal; clients reach it through the UI at <UI origin>/api/hub. Every endpoint takes
an API token as a bearer token:
const res = await fetch('https://flow.example.com/api/hub/flows', {
headers: { Authorization: `Bearer ${process.env.FLOW_TOKEN}` },
})
const flows = await res.json()