Validate Workflow
AI-generatedSummary
Validate Workflow checks a supplied workflow JSON for structural and parameter compliance, returning validation status and any errors or warnings.
Inputs
None.
Output shape
object containing valid (boolean), errors (array of error objects), and warnings (array of warning objects)
Workflow is considered valid only when
validis true anderrorsis empty; warnings are informational.
Examples
Example 1: Validates a workflow with duplicate node names
Validation fails; errors include DUPLICATE_NODE_NAME for each duplicate.
Example 2: Validates a workflow missing required credentials
Validation succeeds; a warning about missing credentials is added.