Validate Workflow
Check the workflow's draft the way publishing will: errors block publishing (an incomplete schedule, a broken graph), warnings do not (a step not set up yet). Nothing changes.
Path
The workflow's id.
Headers
Optional. The id of a child organization of your API key's company to act on. Leave it out to act on the key's own company. See Child organizations.
Response fields
validbooleanTrue when nothing blocks publishing. Warnings may remain.
revisionstringThe revision of the draft that was checked.
issuesarray of objectsEvery problem found, errors first.
severitystringerror blocks publishing; warning does not.
errorwarning
codestringWhat is wrong, UPPER_SNAKE (SCHEDULE_INCOMPLETE, STEP_NOT_CONFIGURED, MISSING_GRAPH_REFERENCE, ...).
messagestringWhat is wrong, for a person.
stepIdstringThe step or trigger it is about. Null for the workflow as a whole.
pathstringWhere that step sits in Get Workflow Definition, as a JSON Pointer (/steps/1/body/0). Null for the workflow as a whole.