Workflow list
The project's workflows. A workflow is a graph: nodes are triggers (wait: time, timeout, watch, webhook, source, composer, human buttons) and run nodes (do: ai prompt, shell command, inbox builtin); links go from → to, when = the outcome that takes the line (none = plain done; several lines of one outcome into triggers race, the first to fire wins; wf:<id> = go on in another workflow). A trigger with no line into it starts runs; one with a line in waits within a run. One run = one todo, which lives in a board group (group, or a starter's) independent of its node.
path Parameters
projectIdstring · required
Responses
Successful response
idstring · requirednamestring · requiredonboolean · requirednodesarray · requiredlinksobject[] · requiredupdatedAtnumber · requiredupdatedBystring · required
groupstringDefault destination of new runs; absent = the owner's personal group.
Workflow set
Create (no id) or replace a workflow. A workflow is a graph: nodes are triggers (wait: time, timeout, watch, webhook, source, composer, human buttons) and run nodes (do: ai prompt, shell command, inbox builtin); links go from → to, when = the outcome that takes the line (none = plain done; several lines of one outcome into triggers race, the first to fire wins; wf:<id> = go on in another workflow). A trigger with no line into it starts runs; one with a line in waits within a run. One run = one todo, which lives in a board group (group, or a starter's) independent of its node. Turning it on (on) needs a starter and every node reachable; its time / watch / webhook starters start listening as the writer.
path Parameters
projectIdstring · required
Request Body
projectIdstring · requirednamestring · requiredonboolean · requirednodesarray · requiredlinksobject[] · required
idstringgroupstring
Responses
Successful response
idstring · requirednamestring · requiredonboolean · requirednodesarray · requiredlinksobject[] · requiredupdatedAtnumber · requiredupdatedBystring · required
groupstringDefault destination of new runs; absent = the owner's personal group.
Workflow get
One workflow.
path Parameters
projectIdstring · requiredidstring · required
Responses
Successful response
idstring · requirednamestring · requiredonboolean · requirednodesarray · requiredlinksobject[] · requiredupdatedAtnumber · requiredupdatedBystring · required
groupstringDefault destination of new runs; absent = the owner's personal group.
Workflow position
Where the todo stands in its workflow: the nodes it passed, its node, the ones plain done leads through, and the ways on from here. null when it is in none.
path Parameters
todoIdstring · required
Responses
Successful response
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = null | |
| type = object · requires: workflowId, workflowName, steps +1 more |
Workflow move
Put the todo at a step of a workflow, like a card into a column: a starter (nodeId; default its composer trigger) starts a run, any other step is arrived at as if a line led there (a box runs again, a person is asked again). No workflowId: out of its workflow, the todo stays.
path Parameters
todoIdstring · required
Responses
Successful response
Workflow next
Finish the todo's node and send it on: plain, or along the line named outcome. at: the step id you saw; refused (409) if it moved on meanwhile. During a live run it goes when the run ends (pending).
path Parameters
todoIdstring · required
Responses
Successful response
pendingboolean · required
tostringtoTitlestring