get task by id
GET
https://api.wexa.ai/task/{id}
Last modified:2025-04-25 11:44:43
Retrieve Task by ID
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 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
}
}
Request
Path Params
id
string
required
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
Modified at 2025-04-25 11:44:43