Skip to main content

Endpoint

POST https://api.ugc.inc/automations/validate

Request Body

workflowDefinition
WorkflowDefinition
required
Workflow graph to validate.

Response

data
{ valid: boolean; errors: string[] }
Validation result and error messages.

TypeScript

const res = await client.automations.validateWorkflow({ workflowDefinition });