Wexa.ai
  1. Tasks
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
      • failover agentflows
      • Get agentflow by projectId and UserId
      • Verify_quota
      • get agentflow by id
      • create agentflow
      • Add skilled agent to agentflow
      • Update skilled agent
    • 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
      • get task by id
        GET
      • resume task
        POST
      • Pause running task
        POST
      • Stop task
        POST
      • Get all tasks
        GET
      • get specific task graph
        GET
    • 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. Tasks

get task by id

GET
api.wexa.ai/task/6805e3a97d3775bffdb87608
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request GET 'api.wexa.ai/task/6805e3a97d3775bffdb87608?projectID={{projectID}}& You don'\''t need to cover the API reference. But everything around API reference. Atleast produce 20 pages/task/6805e3a97d3775bffdb87608' \
--header 'x-api-key: {{x-api-key}}'
Response Response Example
{
    "_id": "6805e3a97d3775bffdb87608",
    "projectID": "67fdea40aac77be632954f13",
    "created_at": 1745216425.41182,
    "updated_at": 1745216425.411823,
    "status": "completed",
    "created_by": "67fdea40aac77be632954f0e",
    "execution_ids": [
        "5f316a19-debf-479c-aae5-5c3ecceef2b8"
    ],
    "execution_nodes": [
        {
            "execution_id": "5f316a19-debf-479c-aae5-5c3ecceef2b8",
            "_id": "6805e3a97d3775bffdb87607",
            "execution_type": "execution",
            "children": []
        }
    ],
    "name": "new platform",
    "executions": [
        {
            "agentflow_id": "67fdea9b68df1c3e9580a549",
            "conclusion": {
                "conclusion": "# Dr. A.P.J. Abdul Kalam: A Visionary Leader and Scientist\n\n## Introduction\n\nDr. A.P.J. Abdul Kalam, known as the **'Missile Man of India'**, was a renowned scientist and the 11th President of India. His life and work continue to inspire millions.\n\n## Biography\n\n### Early Life\n\nBorn on October 15, 1931, in Rameswaram, Tamil Nadu, Abdul Kalam came from a humble background. He pursued physics and aerospace engineering, which laid the foundation for his illustrious career.\n\n### Career\n\nKalam joined the **Defence Research and Development Organisation (DRDO)** and later the **Indian Space Research Organisation (ISRO)**, where he played a pivotal role in India's civilian space program and military missile development.\n\n### Presidency\n\nIn 2002, Abdul Kalam became the **President of India**, serving until 2007. His presidency was marked by his focus on education and youth empowerment.\n\n## Achievements\n\n- Key architect of India's missile program, including the development of the **Agni** and **Prithvi** missiles.\n- Played a significant role in India's **Pokhran-II nuclear tests** in 1998.\n- Authored several books, including **'Wings of Fire'** and **'India 2020'**, inspiring young minds.\n\n## Legacy\n\nDr. Kalam's legacy is one of inspiration and vision. He is remembered for his dedication to education, his humility, and his dream of a developed India. His birthday is celebrated as **World Students' Day** in his honor.\n\n## Conclusion\n\nDr. A.P.J. Abdul Kalam's life is a testament to the power of dreams and perseverance. His contributions to science and his vision for India continue to guide and inspire future generations.",
                "links": [],
                "created_at": 1745216582.085667
            },
            "execution_id": "5f316a19-debf-479c-aae5-5c3ecceef2b8",
            "files": [],
            "goal": "create a content about abdul kalam",
            "projectID": "67fdea40aac77be632954f13",
            "start_from_agent_id": null,
            "status": "completed",
            "task_id": "6805e3a97d3775bffdb87608"
        }
    ],
    "executions_status_count": {
        "completed": 1
    }
}

Request

Query Params
projectID
string 
required
Example:
{{projectID}}
 You don't need to cover the API reference. But everything around API reference. Atleast produce 20 pages/task/6805e3a97d3775bffdb87608
string 
optional
Header Params
x-api-key
string 
required
Example:
{{x-api-key}}

Responses

🟢200get task by id
application/json
Body
_id
string 
required
projectID
string 
required
created_at
number 
required
updated_at
number 
required
status
string 
required
created_by
string 
required
execution_ids
array[string]
required
execution_nodes
array [object {4}] 
required
execution_id
string 
optional
_id
string 
optional
execution_type
string 
optional
children
array
optional
name
string 
required
executions
array [object {9}] 
required
agentflow_id
string 
optional
conclusion
object 
optional
execution_id
string 
optional
files
array
optional
goal
string 
optional
projectID
string 
optional
start_from_agent_id
null 
optional
status
string 
optional
task_id
string 
optional
executions_status_count
object 
required
completed
integer 
required
Modified at 2025-04-23 12:48:44
Previous
get tasks
Next
resume task
Built with