Complete a task out of band
POST/apps/{appId}/tasks/{token}/complete
For a step you answered with 202, or claimed from a queue. The token resolves exactly once; a replay, or a token from before a redrive, is a conflict rather than a second completion. The body is closed: a key the server does not know is a 400, not ignored. An output over the per-step size cap, or a next that names no step, is a 400 carrying the same message the run records, and unlike other 400s it is not a no-op: the step has already failed (its onFailure runs), and the token is spent.
Path parameters
appId
stringREQUIRED
The app's name.
token
string (uuid)REQUIRED
Request body
next
stringOPTIONAL
Override the definition's next step. Must name a real step or a sentinel.
max length 100
output
anyOPTIONAL