API ReferenceApi claw

Get API Agent scheduled task

API documentation for Get API Agent scheduled task

GET
/api/v1/api-agents/{agentId}/scheduled-tasks/{taskId}

Authorization

bearerAuth
AuthorizationBearer <token>

API key authentication.

In: header

Path Parameters

agentId*string
taskId*string

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/v1/api-agents/string/scheduled-tasks/string"
{  "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"    }  ]}