Wexa AI
  1. Tasks
Wexa AI
  • Wexa AI
  • Getting Started with Wexa AI
  • Use Cases and Workflows
  • API Reference
  • Tutorials
  • Troubleshooting Guide
  • 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
      • 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
  1. Tasks

get tasks

GET
https://api.wexa.ai/tasks/{projectID}
Last modified:2025-04-25 11:43:40

Retrieve All Tasks by Project ID#

Use this endpoint to retrieve a list of all tasks associated with a specific project in your Wexa.ai environment. This functionality allows you to access metadata such as task names, statuses, due dates, and assigned agents, facilitating the management and monitoring of tasks within your project.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.wexa.ai/tasks/?limit=10&projectID=67fdea40aac77be632954f13&skip=1&created_by=67fdea40aac77be632954f0e' \
--header 'x-api-key: {{x-api-key}}'
Response Response Example
{
  "tasks": {
    "today": [],
    "yesterday": [
      {
        "_id": "68067c9dc517ff5238533cd5",
        "projectID": "67fdea40aac77be632954f13",
        "created_at": 1745255581.674157,
        "updated_at": 1745255581.67416,
        "status": "in_preview",
        "created_by": "67fdea40aac77be632954f0e",
        "execution_ids": [
          "adb4f70c-03f6-4615-b377-b09002c53843"
        ],
        "execution_nodes": [],
        "name": "content creator testing"
      },
      {
        "_id": "68062352fc2e1fb8597c775a",
        "projectID": "67fdea40aac77be632954f13",
        "created_at": 1745232722.189382,
        "updated_at": 1745232722.189386,
        "status": "completed",
        "created_by": "67fdea40aac77be632954f0e",
        "execution_ids": [
          "4b101a94-b084-4365-bc7b-f20be05c2616"
        ],
        "execution_nodes": [],
        "name": "new platform"
      },
      {
        "_id": "6806062e064a778a5f18f9d4",
        "projectID": "67fdea40aac77be632954f13",
        "created_at": 1745225262.35144,
        "updated_at": 1745225262.351443,
        "status": "completed",
        "created_by": "67fdea40aac77be632954f0e",
        "execution_ids": [
          "19966a1f-7a22-4da3-8473-7f638c6ba518"
        ],
        "execution_nodes": [],
        "name": "new platform"
      },
      {
        "_id": "68060627064a778a5f18f9d0",
        "projectID": "67fdea40aac77be632954f13",
        "created_at": 1745225255.138971,
        "updated_at": 1745225255.138974,
        "status": "ready",
        "created_by": "67fdea40aac77be632954f0e",
        "execution_ids": [
          "726281b8-5a5b-493d-943b-8739189bfba8"
        ],
        "execution_nodes": [],
        "name": "new platform"
      },
      {
        "_id": "6806055b064a778a5f18f9ca",
        "projectID": "67fdea40aac77be632954f13",
        "created_at": 1745225051.359286,
        "updated_at": 1745225051.359289,
        "status": "ready",
        "created_by": "67fdea40aac77be632954f0e",
        "execution_ids": [
          "0d87a869-9661-46fd-9c77-59fafc9cfa94"
        ],
        "execution_nodes": [],
        "name": "new platform"
      },
      {
        "_id": "6806035d064a778a5f18f851",
        "projectID": "67fdea40aac77be632954f13",
        "created_at": 1745224541.605363,
        "updated_at": 1745224541.605367,
        "status": "cancelled",
        "created_by": "67fdea40aac77be632954f0e",
        "execution_ids": [
          "aa91804f-3f6c-4622-a99f-c2ca7a6f8782"
        ],
        "execution_nodes": [],
        "name": "new platform"
      },
      {
        "_id": "68060114064a778a5f18f84f",
        "projectID": "67fdea40aac77be632954f13",
        "created_at": 1745223956.857456,
        "updated_at": 1745223956.857459,
        "status": "completed",
        "created_by": "67fdea40aac77be632954f0e",
        "execution_ids": [
          "56d246cc-2803-41a7-a90d-c1c3d4672240"
        ],
        "execution_nodes": [],
        "name": "new platform"
      },
      {
        "_id": "6805f401064a778a5f18f846",
        "projectID": "67fdea40aac77be632954f13",
        "created_at": 1745220609.002351,
        "updated_at": 1745220609.002354,
        "status": "completed",
        "created_by": "67fdea40aac77be632954f0e",
        "execution_ids": [
          "8ffc2a03-5d38-4321-aae8-c9f32d7707fc"
        ],
        "execution_nodes": [],
        "name": "new platform"
      },
      {
        "_id": "6805f3f6064a778a5f18f844",
        "projectID": "67fdea40aac77be632954f13",
        "created_at": 1745220598.837637,
        "updated_at": 1745220598.83764,
        "status": "ready",
        "created_by": "67fdea40aac77be632954f0e",
        "execution_ids": [
          "cc63be80-d257-46b8-94f7-db8c25f530f3"
        ],
        "execution_nodes": [],
        "name": "new platform"
      },
      {
        "_id": "6805e8477d3775bffdb87610",
        "projectID": "67fdea40aac77be632954f13",
        "created_at": 1745217607.232776,
        "updated_at": 1745217607.232779,
        "status": "completed",
        "created_by": "67fdea40aac77be632954f0e",
        "execution_ids": [
          "aed1d3ae-0486-48bd-a2c3-97da32369cf7"
        ],
        "execution_nodes": [],
        "name": "new platform"
      }
    ],
    "older": []
  },
  "total_count": 15
}

Request

Path Params
projectID
string 
required
Query Params
limit
string 
required
Example:
10
projectID
string 
required
Example:
67fdea40aac77be632954f13
skip
string 
required
Example:
1
created_by
string 
required
Example:
67fdea40aac77be632954f0e
Header Params
x-api-key
string 
required
Example:
{{x-api-key}}

Responses

🟢200get tasks
application/json
Body
tasks
object 
required
today
array
required
yesterday
array [object {9}] 
required
older
array
required
total_count
integer 
required
Modified at 2025-04-25 11:43:40
Previous
tags
Next
get task by id