Workflows
Validate workflow API
Check the saved draft against every graph and node rule without mutating anything. Errors block publish; warnings do not.
POST
cURL
Validation reads the stored draft, so save your definition with the Save Draft API first. Common error codes include
unbounded_cycle (a loop not closed through a retry node), dangling_target (a case routes to a missing node id), unknown_agent, unknown_agent_version (an A/B test uses a version that isn’t in the agent’s versions list, for example one that was deleted) and empty_cases on the start node. The unmapped_agent_variable warning flags a prompt variable the agent node doesn’t map; on an A/B-tested node it covers every version in the test and names the version that uses the variable.Authorizations
Body
application/json
Empty JSON object.
The body is of type object.