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, a Map step reading an input key no input answers). Nothing changes.
Path
The workflow's id.
Headers
Optional. The id of the organization to act in. Leave it out to act in the API key's own organization. A key can also act in its child organizations, and, with "Use this key across all of your organizations" on, in every organization its creator can open in the app. List them with GET /v2/companies. Every response's X-Company-Id header names the organization it acted in. See 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.