tasks/list

GET/scheduled-agents

List the account's Tasks. Requires the scheduled-agents feature and the configuration:read permission.

Request

cURL
curl -X GET "https://provisioning.cloudx.io/api/v1/scheduled-agents" \
  -H "Authorization: Bearer $CLOUDX_API_KEY"

Responses

Tasks in newest-first order.
{
  "scheduled_agents": [
    {
      "id": "<string>",
      "name": "<string>",
      "prompt": "<string>",
      "template_id": "<string>",
      "cron_expression": "<string>",
      "timezone": "<string>",
      "schedule_description": "<string>",
      "enabled": true,
      "creation_origin": "web_app",
      "notification_recipient_mode": "just_me",
      "notification_recipient_user_ids": [
        "<string>"
      ],
      "next_run_at": "<string>",
      "created_at": "<string>",
      "updated_at": "<string>"
    }
  ]
}

200 Tasks in newest-first order.

FieldTypeDescription
scheduled_agentsrequiredarray of object

401 Unauthorized.

FieldTypeDescription
errorrequiredstring

403 Forbidden or feature unavailable.

FieldTypeDescription
errorrequiredstring

500 Internal server error.

FieldTypeDescription
errorrequiredstring