curl --location -g --request GET 'https:///api/v2/projects//workflows' \
--header 'Ocp-Apim-Subscription-Key: ' \
--header 'Authorization: Bearer '
{
"success": true,
"message": "Workflows for Project found successfully",
"data": {
"workflows": [
{
"id": 1,
"workflow_name": "Workflow 1",
"nodes": [
{
"id": "p4",
"data": {
"start": true,
"custom_instructions": {
"routing_phase": [],
"planning_phase": [],
"response_compilation": []
}
},
"type": "planner"
},
{
"id": "5",
"data": {
"name": "Marketing Guru",
"start": false,
"domain": "Social Media",
"agent_id": 1,
"agent_type": "QnA",
"prefix_prompt": "Elaborate your responses in a way that makes it easier to understand.",
"sources_enabled": true,
"deployment_model": "gpt4-o",
"custom_instructions": []
},
"type": "agent"
},
{
"id": "6",
"data": {
"name": "Social Innovation Explorer",
"start": false,
"domain": "Social Media",
"agent_id": 2,
"agent_type": "QnA",
"prefix_prompt": "Elaborate your responses in a way that makes it easier to understand.",
"sources_enabled": true,
"deployment_model": "gpt4-o",
"custom_instructions": []
},
"type": "agent"
}
],
"edges": [
{
"id": "ep4-5",
"type": "conditional",
"source": "p4",
"target": "5"
},
{
"id": "ep4-6",
"type": "conditional",
"source": "p4",
"target": "6"
}
],
"sample_questions": [
"What are some effective strategies for engaging with customers on social media platforms?",
"What metrics do you consider when evaluating the performance of social media marketing campaigns.",
"Describe a research project aimed at understanding the impact of social media on consumer behavior and decision-making."
],
"is_deleted": false,
"created_by": "admin@ejento.ai",
"created_on": "2025-05-07T23:06:51.623408Z",
"user": 1,
"project": 1
}
]
}
}