List API Agent scheduled tasks
API documentation for List API Agent scheduled tasks
Authorization
bearerAuth AuthorizationBearer <token>
API key authentication.
In: header
Path Parameters
agentId*string
Query Parameters
limit?string
offset?string
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://loading/api/v1/api/v1/api-agents/string/scheduled-tasks"{
"tasks": [
{
"id": "string",
"name": "string",
"agentId": "string",
"taskTemplate": {
"property1": null,
"property2": null
},
"scheduleType": "string",
"cronExpression": "string",
"intervalMinutes": 0,
"scheduledAt": "string",
"maxRuns": 0,
"timezone": "string",
"isEnabled": true,
"nextRunAt": "string",
"totalRuns": 0,
"createdAt": "string",
"updatedAt": "string",
"scheduleDescription": "string",
"agent": {
"name": "string",
"emoji": "string"
},
"runs": [
{
"id": "string",
"scheduledTaskId": "string",
"status": "string",
"startedAt": "string",
"completedAt": "string",
"error": "string",
"sessionId": "string",
"createdAt": "string"
}
]
}
],
"hasMore": true
}{
"defined": true,
"code": "BAD_REQUEST",
"status": 400,
"message": "Bad Request",
"data": {
"error": "string"
}
}{
"defined": true,
"code": "UNAUTHORIZED",
"status": 401,
"message": "Unauthorized",
"data": {
"error": "string"
}
}{
"defined": true,
"code": "FORBIDDEN",
"status": 403,
"message": "Forbidden",
"data": {
"error": "string"
}
}{
"defined": true,
"code": "NOT_FOUND",
"status": 404,
"message": "Not Found",
"data": {
"error": "string"
}
}