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 tasks

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

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-23 12:45:59
Previous
tags
Next
get task by id
Built with