latestOpenAPI 3.1.02026-08-22360412712.1 KB

b5daa886f4ee

Agent Workflow

Add Workflow Edge

Add a directed edge between two existing nodes. Returns {edge_id}.

post/v1/agents/{agent_id}/workflow/edges

Path parameters

agent_idstring required

Headers

X-API-Keystring required

API key required to authenticate requests.

Request body

source_node_idstring required
target_node_idstring required
conditionstring nullable

Response

Successful Response

object required