curl --location -g --request POST 'https:///api/v2/workflows//responses' \
--header 'Ocp-Apim-Subscription-Key: ' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
"query": "What regulations do we need to comply with when entering a new market and what marketing advice you want me to follow?",
"response": {
"agents_used": [],
"answer": "Sorry, connected agents are unable to answer your query",
"sources": "",
"indexes": {},
"references": [],
"followup_questions": [],
"subqueries": [
{
"question": "What regulations do we need to comply with when entering a new market?",
"order": 1,
"dependency": [],
"agent": ""
},
{
"question": "What marketing advice should I follow when entering a new market?",
"order": 2,
"dependency": []
}
],
"thread_name": "Updated Thread Title"
},
"query_source": "web",
"thread_id": 4
}'
{
"success": true,
"message": "Workflow chat response created successfully",
"data": {
"id": 54,
"query": "What regulations do we need to comply with when entering a new market and what marketing advice you want me to follow?",
"response": {
"agents_used": [],
"answer": "Sorry, connected agents are unable to answer your query",
"sources": "",
"indexes": {},
"references": [],
"followup_questions": [],
"subqueries": [
{
"question": "What regulations do we need to comply with when entering a new market?",
"order": 1,
"dependency": [],
"agent": ""
},
{
"question": "What marketing advice should I follow when entering a new market?",
"order": 2,
"dependency": []
}
],
"thread_name": "Updated Thread Title"
},
"stage": null,
"query_source": "web",
"is_cleared": false,
"created_by": "admin@ejento.ai",
"created_on": "2025-06-30T18:36:03.621851Z",
"workflow": 1,
"thread": 4,
"user": 1
}
}