Validate a workflow definition
Checks a workflow definition and tells you what is wrong with it, without saving anything.
Call this before Create workflow or Update workflow to catch problems while you still have the definition in hand. An invalid definition comes back as a 200 with valid set to false and the problems in errors, not as an error status, so branch on valid rather than on the status code.
The response also lists the task types and activities this app can use, which is the set a valid definition has to stay inside.
This endpoint is limited to 30 requests per minute.
Authorizations
Personal API key.
Path Parameters
ID of the app whose workflows you want to work with.
Body
The CNCF Serverless Workflow v1.0 document to check.
Response
The verdict. Check valid, not the status code.
Whether the definition can be saved as-is.
true
What is wrong with the definition, one entry per problem. Empty when valid is true.
Task types a definition may use.
Activities this app can call from a task.