API referenceFlows
Remove a built flow
DELETE
Admins only. Its runs stay ordinary sessions. A flow file can't be removed this way.
bearerheader
AuthorizationBearer <token>An API token
flowId*stringA flow id
Removed
application/json- response
ok*unknowncurl -X DELETE 'http://127.0.0.1:7777/flows/nightly-check'Example Response
{ "ok": true}List flows GET
Previous Page
Build or change a flow PUT
Admins only, with a person's token, saved as that person (listed as `saved`). The next run takes the new steps; a run already going keeps its own. An agent proposes one with its `save_flow` tool: a waiting approval whose approval (`POST /sessions/{id}/approvals/{key}`, by someone who may build flows) saves it.