Skip to main content
POST
Validate workflow

Authorizations

x-api-key
string
header
required

Body

application/json
name
string
required

Workflow name.

Required string length: 1 - 120
plan
WorkflowPlan · object
required

The workflow DAG. See the endpoint description for the plan format.

importSources
object[]

Resolve exact import source inputs from cached AI Finder previews before validation or saving. The referenced BLOCK must match the resolved blockId. Resolved source fields override copied values in node.inputs; other inputs are preserved. Preview references are not persisted.

Required array length: 1 - 60 elements
trigger
WorkflowTrigger · object

Trigger configuration. Defaults to MANUAL when omitted during creation. SCHEDULE requires definition and startsAt. Recurrence byWeekday uses 0=Sunday, 1=Monday, through 6=Saturday; a Monday-only weekly schedule uses [1]. Always include Z or an explicit UTC offset in startsAt, with the requested wall-clock time in the selected IANA timezone; never send an offset-free timestamp. INTENT requires signal; WEBHOOK may declare inputs.

maxCreditsPerRun
integer | null

Optional per-run credit ceiling.

Response

Plan is valid

status
enum<string>
required
Available options:
success
message
string
required
data
object
required