Start a run
POST/apps/{appId}/runs
Authenticate with an operator token or an app API key or a signed-in Foliot Console session.
With an idempotencyKey, a repeat returns the EXISTING run and created: false with a 200 rather than a 201 — so retrying a start is safe. Omitting version resolves to the highest registered version at this instant.
Path parameters
appId
stringREQUIRED
The app's name.
Request body
businessKey
stringOPTIONAL
Your own identifier, for signalling later without tracking run ids.
max length 200
idempotencyKey
stringOPTIONAL
max length 200
input
anyOPTIONAL
tags
string[]OPTIONAL
max 20 items
version
integer (int64)OPTIONAL
min 1 · max 2147483647
workflow
stringREQUIRED
min length 1
Responses
200
object
A run with this idempotency key already existed; it is returned unchanged.
201
object
Created