Wexa AI
  1. Tasks
Wexa AI
  • Wexa AI
  • Use Cases and Workflows
  • API Reference
  • Troubleshooting Guide
  • Onboarding
    • Getting Started with Wexa
    • Hire your AI Coworker
  • AI Coworker Creation
    • Create your First AI Coworker
    • Process Flows
    • Creating your First Agent
    • Schedule a Process Flow
    • Executing a Process Flow
    • Settings - Input Form
    • History
  • Tables
    • Intro to Tables
    • Adding records to Tables
    • Table Triggers
  • Knowledge Base
    • Intro to Knowledge Base
  • Connectors and MCP Servers
    • Adding a New Connector
    • Adding an MCP Server
    • Setting up Connectors Triggers
  • API Endpoints
    • Project
      • create project
      • Get all projects
      • Get project
      • update project
      • Delete project
    • Agentflows
      • create agentflow
      • get agentflows
      • Get agentflow by projectId and UserId
      • get agentflow by id
      • Add skilled agent to agentflow
      • Update skilled agent
    • Connectors
      • get connectors by projectid
      • get connector by Id
      • Delete a connector
      • connector update status
      • get all available trigger actions
    • Skills
      • create skill
      • get skills
      • get skills by category'
      • get skills by id
      • skills by name
    • Executeflow
      • create executeflow
      • get executions
      • execute agentflow
      • pause executeflow
      • resume execution
      • cancel executeflow
      • get execution by execution id
      • get execution details for monitoring
    • Customer
      • get customer
      • Get credit history
    • Actions
      • create action
      • get action
    • Files
      • Connectors and MCP Servers
      • upload files
      • get files by fileid
      • get connector by fileid
      • get files by connector_id
    • Inbox
      • get inbox
    • Tags
      • tags
    • Tasks
      • get tasks
        GET
      • get task by id
        GET
      • Pause running task
        POST
      • resume task
        POST
      • Stop task
        POST
    • Tables
      • create table
      • create database
      • get tables
      • get records list
      • get table names
      • delete record
      • delete a column
    • Dashboard
      • get dashboard
      • refresh dashboard
      • delete component in dashboard
    • Settings
      • get settings
    • Marketplace
      • get all connectors
      • get marketplace coworkers
      • get marketplace coworker by id
    • Coworker schedules
      • get schedules
      • create coworker schedule
      • get schedule coworker by its id
      • update schedule by its id
      • delete schedule by its id
    • Analytics
      • Get analytics
    • Marketplace coworkers
      • hire a coworker
      • check marketplace coworker update
    • Project member
      • project_member
    • Available Connectors
      • Actions
    • Execution Details
      • Execution details
  1. Tasks

get task by id

GET
https://api.wexa.ai/task/{id}
Last modified:2025-04-25 11:44:43

Retrieve Task by ID#

Use this endpoint to retrieve detailed information about a specific task within your Wexa.ai environment by providing its unique task_id. This functionality allows you to access metadata such as the task's name, description, status, due date, assigned agents, and associated connectors, facilitating the management and monitoring of tasks within your project.

Request

Path Params

Query Params

Header Params

Responses

🟢200get task by id
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request GET 'https://api.wexa.ai/task/?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
    }
}
Modified at 2025-04-25 11:44:43
Previous
get tasks
Next
Pause running task