Wexa.ai
  1. Agentflows
Wexa.ai
  • Wexa AI
  • Getting Started
  • Use Cases and Workflows
  • API Reference
  • Tutorials
  • Troubleshooting
  • API Endpoints
    • Actions
      • create action
      • get action
    • Agentflows
      • get agent flow
        GET
      • failover agentflows
        GET
      • Get agentflow by projectId and UserId
        GET
      • Verify_quota
        POST
      • get agentflow by id
        GET
      • create agentflow
        POST
      • Add skilled agent to agentflow
        POST
      • Update skilled agent
        POST
    • Analytics
      • Get analytics
    • Customer
      • get customer
      • Get credit history
    • Coworker schedules
      • get schedules
      • create coworker schedule
      • get schedule coworker by its id
      • update schedule by its id
      • delete schedule by its id
    • Connectors
      • get connectors by projectid
      • get connector by Id
      • Delete a connector
      • connector update status
      • get all available trigger actions
    • Credits
      • Validate user validity
      • validate workspace credits
    • Dashboard
      • get dashboard
      • refresh dashboard
      • delete component in dashboard
    • Executeflow
      • create executeflow
      • get executions
      • pause executeflow
      • resume execution
      • get execution by execution id
      • cancel executeflow
      • verify quota
      • get execution details for monitoring
      • execute agentflow
    • Files
      • get files by fileid
      • get connector by fileid
      • get files by connector_id
      • get total file size
      • upload files
    • Inbox
      • get inbox
    • Marketplace
      • get all connectors
      • get marketplace coworkers
      • get marketplace coworker by id
    • Marketplace coworkers
      • hire a coworker
      • check marketplace coworker update
    • Settings
      • get settings
    • Skills
      • get skills
      • get skills by category'
      • get skills by id
      • skills by name
      • create skill
    • Tags
      • tags
    • Tasks
      • get tasks
      • get task by id
      • resume task
      • Pause running task
      • Stop task
      • Get all tasks
      • get specific task graph
    • Tables
      • create table
      • create database
      • get tables
      • get records list
      • get table names
      • delete record
      • delete a coulmn
    • Project member
      • project_member
    • Project
      • Get all projects
      • Get project
      • Get Projects
      • create project
      • update project
      • Delete project
  1. Agentflows

get agent flow

GET
api.wexa.ai/agentflows
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '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

Authorization
Add parameter in header
x-api-key
Example:
x-api-key: ********************
Query Params
projectID
string 
required
Example:
67fdea40aac77be632954f13
Header Params
x-api-key
string 
optional
Example:
{{x-api-key}}

Responses

🟢200Get agentflows
application/json
Body
agentflows
array [object {22}] 
required
_id
string 
optional
name
string 
optional
image
string 
optional
description
string 
optional
role
string 
optional
isActive
boolean 
optional
projectID
string 
optional
organization_id
string 
optional
initialAgent
string 
optional
created_at
number 
optional
updated_at
number 
optional
last_used
number 
optional
is_deleted
boolean 
optional
is_cron_scheduled
boolean 
optional
anomaly_detection
object 
optional
marketplace_id
string 
optional
agents
array [object {14}] 
optional
goal_structure
null 
optional
conclusion
null 
optional
parent_agentflow_id
string 
optional
agentflow_type
string 
optional
failover_goal
null 
optional
total_count
integer 
required
details
null 
required
Modified at 2025-04-23 12:15:33
Previous
get action
Next
failover agentflows
Built with