curl --location '/agents//tasks' \
--header 'Authorization: Bearer <token>'[
{
"id": "string",
"agentId": "string",
"taskId": "string",
"priority": 0,
"createdAt": "2019-08-24T14:15:22.123Z",
"task": {
"id": "string",
"slug": "schedule-appointment",
"title": "Schedule Appointment",
"description": "string",
"completionCriteria": "string",
"prerequisiteType": "calendar_connected",
"groupName": "Scheduling",
"userId": "string",
"createdAt": "2019-08-24T14:15:22.123Z"
}
}
]