Crear nuevo flujo
🚀 Servidor de producción
https://api.hiveflow.com/api
🚀 Servidor de producción
https://api.hiveflow.com/api
POST
/flows
Flujos
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.hiveflow.com/api/flows' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "Mi Flujo de Análisis",
"description": "Flujo para análisis de sentimientos",
"nodes": [],
"edges": [],
"status": "draft"
}'
Response Response Example
{
"success": true,
"flow": {
"_id": "string",
"name": "string",
"description": "string",
"status": "draft",
"executionState": "paused",
"nodes": [
{
"id": "string",
"type": "string",
"position": {
"x": 0,
"y": 0
},
"data": {
"agentName": "string",
"llm": "openai",
"model": "string",
"agentObjective": "string",
"url": "string",
"prompt": "string",
"nodeType": "llm",
"conditions": [
{
"prompt": "string",
"targetNodeId": "string",
"usePrompt": true
}
]
}
}
],
"edges": [
{
"id": "string",
"source": "string",
"target": "string",
"sourceHandle": "string",
"targetHandle": "string",
"type": "string",
"data": {
"isConditional": true,
"conditionIndex": 0
}
}
],
"owner": "string",
"processCount": 0,
"version": 1,
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z"
}
}
Request
Body Params application/json
Responses
Modified at 2025-06-19 15:26:15