Method
validateWorkflowGraph POST
Copy POST

Validates the workflow graph for an AI Agent.

Arguments:

REQUIRED KEY TYPE DESCRIPTION
Yes workflowGraph WorkflowGraph The workflow graph to validate.
KEY TYPE Description
commonSourceCode None None
primaryStartNode Union[str, WorkflowGraphNode] The primary node to start the workflow from.
nodes List[WorkflowGraphNode] A list of nodes in the workflow graph.
edges List[WorkflowGraphEdge] A list of edges in the workflow graph, where each edge is a tuple of source, target, and details.
No agentInterface AgentInterface The interface that the agent will be deployed with.
No packageRequirements list A list of package requirement strings. For example: ['numpy==1.2.3', 'pandas>=1.4.0'].
Note: The arguments for the API methods follow camelCase but for Python SDK underscore_case is followed.

Response:

KEY TYPE DESCRIPTION
success Boolean true if the call succeeded, false if there was an error
type
description
Language: