curl --location --request POST 'https://api.hiveflow.ai/api/flows//edges/batch' \
--header 'Content-Type: application/json' \
--data-raw '{
"edges": [
{
"source": "string",
"target": "string",
"sourceHandle": "string",
"targetHandle": "string",
"type": "string",
"data": {}
}
],
"validateCycles": true,
"skipDuplicates": true
}'
{
"success": true,
"edges": [
{
"id": "string",
"source": "string",
"target": "string",
"sourceHandle": "string",
"targetHandle": "string",
"type": "string",
"data": {
"isConditional": true,
"conditionIndex": 0
}
}
],
"statistics": {
"created": 0,
"skipped": 0,
"failed": 0
},
"errors": [
{
"index": 0,
"error": "string"
}
]
}