Method
Extracts source code of workflow graph, ancestors, in_edges and traversal orders from the agent workflow.
| REQUIRED |
KEY |
TYPE |
DESCRIPTION |
| Yes |
workflowGraph |
WorkflowGraph |
The workflow graph to validate.
| KEY |
TYPE |
Description |
| nodes |
List[Union[WorkflowGraphNode, DecisionNode]] |
A list of nodes in the workflow graph. |
| commonSourceCode |
str |
Common source code that can be used across all nodes. |
| edges |
None |
None |
| primaryStartNode |
Union[str, WorkflowGraphNode] |
The primary node to start the workflow from. |
| specificationType |
None |
None |
|
| 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.
| KEY |
TYPE |
DESCRIPTION |
| success |
Boolean |
true if the call succeeded, false if there was an error |
| type |
|
|
| description |
|
|