Wexa AI
  1. Coworker schedules
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 task by id
      • Pause running task
      • resume task
      • Stop task
    • 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
        GET
      • create coworker schedule
        POST
      • get schedule coworker by its id
        GET
      • update schedule by its id
        PATCH
      • delete schedule by its id
        DELETE
    • Analytics
      • Get analytics
    • Marketplace coworkers
      • hire a coworker
      • check marketplace coworker update
    • Project member
      • project_member
  1. Coworker schedules

get schedules

GET
https://api.wexa.ai/schedules/coworker/{coworker_id}
Last modified:2025-04-25 12:24:36

Retrieve Coworker Schedule by ID#

Use this endpoint to retrieve the schedule details of a specific AI Coworker within your Wexa.ai environment by its unique coworker_id. This allows you to view the planned execution times and frequencies of the coworker's tasks, enabling better planning and coordination of automation workflows.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.wexa.ai/schedules/coworker/?limit=15&page_no=1&projectID=67fdea40aac77be632954f13&coworker_id=68067c49c517ff5238533ccf' \
--header 'x-api-key: {{x-api-key}}'
Response Response Example
{
  "data": [
    {
      "conclusion": null,
      "count": 0,
      "coworker_id": "68067c49c517ff5238533ccf",
      "created_at": 1745303037.958168,
      "created_by": "67fdea40aac77be632954f0e",
      "frequency": null,
      "goal": {
        "display_template": "[{\"type\":\"paragraph\",\"children\":[{\"text\":\"say about abdul kalam\"}]}]",
        "template": "say about abdul kalam"
      },
      "_id": "680735fdff5c4953f01709b8",
      "last_coworker_execution_id": null,
      "last_record_id": null,
      "limit": null,
      "projectID": "67fdea40aac77be632954f13",
      "schedule": 1745303243.331,
      "status": "active",
      "table": null,
      "type": "once",
      "updated_at": null,
      "task_id": "680735fdff5c4953f01709b6"
    },
    {
      "conclusion": "Execution Completed",
      "count": 1,
      "coworker_id": "68067c49c517ff5238533ccf",
      "created_at": 1745294470.290392,
      "created_by": "67fdea40aac77be632954f0e",
      "frequency": null,
      "goal": {
        "display_template": "[{\"type\":\"paragraph\",\"children\":[{\"text\":\"describe about abdul kalam\"}]}]",
        "template": "describe about abdul kalam"
      },
      "_id": "680714861a9ea363140a2655",
      "last_coworker_execution_id": "798a946e-3320-4a88-93dd-47437d803c31",
      "last_record_id": null,
      "limit": null,
      "projectID": "67fdea40aac77be632954f13",
      "schedule": 1745294740.342,
      "status": "inactive",
      "table": null,
      "type": "once",
      "updated_at": null,
      "task_id": "680714851a9ea363140a2653"
    }
  ],
  "total_count": 2
}

Request

Path Params
coworker_id
string 
required
Query Params
limit
string 
required
Example:
15
page_no
string 
required
Example:
1
projectID
string 
required
Example:
67fdea40aac77be632954f13
coworker_id
string 
required
Example:
68067c49c517ff5238533ccf
api.wexa.ai/schedules/coworker
string 
optional
Header Params
x-api-key
string 
required
Example:
{{x-api-key}}

Responses

🟢200get schedules
application/json
Body
data
array [object {18}] 
required
conclusion
string  | null 
required
count
integer 
required
coworker_id
string 
required
created_at
number 
required
created_by
string 
required
frequency
null 
required
goal
object 
required
_id
string 
required
last_coworker_execution_id
string  | null 
required
last_record_id
null 
required
limit
null 
required
projectID
string 
required
schedule
number 
required
status
string 
required
table
null 
required
type
string 
required
updated_at
null 
required
task_id
string 
required
total_count
integer 
required
Modified at 2025-04-25 12:24:36
Previous
get marketplace coworker by id
Next
create coworker schedule