Skip to main content

execute_workflow

Function execute_workflow 

Source
pub async fn execute_workflow(
    __arg0: State<AppState>,
    __arg1: AuthUser,
    __arg2: Path<String>,
    __arg3: Json<WorkflowRequest>,
) -> Result<Json<WorkflowOutput>>
Expand description

Execute a workflow by name

This endpoint executes a workflow defined in ares.toml. The workflow determines which agents are used and how they interact to process the request.