Flow

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

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()