get agentflows
GET
https://api.wexa.ai/agentflows
Last modified:2025-04-25 07:25:25
Get All AgentFlows
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.wexa.ai/agentflows?projectID=67fdea40aac77be632954f13' \
--header 'x-api-key;'
Response Response Example
{
"agentflows": [
{
"_id": "67fdea9b68df1c3e9580a549",
"name": "new platform",
"image": "https://klotdev.blob.core.windows.net/coworkers/wexaworker13.png",
"description": "new platform",
"role": "new platform",
"isActive": true,
"projectID": "67fdea40aac77be632954f13",
"organization_id": "67fdea40aac77be632954f0f",
"initialAgent": "67fdea9b68df1c3e9580a54a",
"created_at": 1744693915.589366,
"updated_at": 1744693915.589376,
"last_used": 1744693915.589377,
"is_deleted": false,
"is_cron_scheduled": false,
"anomaly_detection": {
"is_enabled": false,
"instructions": ""
},
"marketplace_id": "67f73fa6f55e1a49293771eb",
"agents": [
{
"_id": "67fdea9b68df1c3e9580a54a",
"title": "new platform",
"role": "new platform",
"role_description": "new platform",
"llm": {
"model": "azure/gpt-4o",
"temperature": 0,
"max_tokens": 10000
},
"context": [],
"has_knowledge_base": false,
"prompt": {
"template": "new platform",
"variables": [],
"display_template": "[{\"type\":\"paragraph\",\"children\":[{\"text\":\"new platform \"}]}]"
},
"triggers": [],
"is_preview_mode_enabled": false,
"pre_and_post_execution_input": null,
"skills": [
"67fdea9a68df1c3e9580a547"
],
"agent_type": "skilled_agent",
"next_agent": null
}
],
"goal_structure": null,
"conclusion": null,
"parent_agentflow_id": "1234",
"agentflow_type": "master",
"failover_goal": null
}
],
"total_count": 1,
"details": null
}
Request
Query Params
projectID
string
required
Example:
67fdea40aac77be632954f13
Header Params
x-api-key
string
optional
Example:
{{x-api-key}}
Responses
Modified at 2025-04-25 07:25:25