Skip to main content
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

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

workflow_id
string<uuid>
required

The unique id of the workflow

Body

application/json

Empty JSON object.

The body is of type object.

Response

Validation result

issues
object[]
required