Headers
Body
Input schema for GraphWorkflow completion requests.
The name of the graph workflow.
The description of the graph workflow.
List of agent specifications to be used as nodes in the workflow graph.
List of edges connecting nodes. Can be EdgeSpec objects or dictionaries with 'source' and 'target' keys.
- EdgeSpec
- Option 2
List of node IDs that serve as starting points for the workflow.
List of node IDs that serve as ending points for the workflow.
The maximum number of execution loops for the workflow.
The task to be executed by the workflow.
Optional image path for vision-enabled agents.
Whether to automatically compile the workflow for optimization.
Whether to enable detailed logging.
Response
Successful Response
Output schema for GraphWorkflow completion responses.
The job ID of the graph workflow.
The status of the graph workflow.
The outputs of the graph workflow.
The usage statistics of the workflow.
The timestamp of the graph workflow execution.
The name of the graph workflow.
The description of the graph workflow.