Scrub API
POST/v1/tools/list_flowsfree

List flows

This workspace's flows, newest saved first, free: what a person or an AI chained on the canvas from tools and actions. Each with its name (flow_…, the name it runs by, as any tool does), its title, its version, when it was saved, its steps by their names, app where it was made in one of Scrub's Apps and, in a workspace of more than one person, who saved it (by). Give app to list only the flows made in that App, or at to list only those chained on an action's or tool's own page (by its name).

Fields

FieldTypeDefaultWhat it is
appstringNoneAn App, by its name ("audio"): only the flows made in it
atstringNoneAn action or tool, by its name ("write_content"): only the flows chained on its page

Call it

Request

curl -X POST https://app.scrub.app/v1/tools/list_flows \
  -H "Authorization: Bearer $SCRUB_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'

Answer

{
  "ok": true,
  "result": {
    "…": "…"
  }
}

What result holds is said above.

Every call can also answer an error: what comes back. Try it with your key from Account.