v1

latestOpenAPI 3.0.02026-07-17101223.2 KB
Optimization

Get scheduled task by ID

Returns details of a specific scheduled task

get/api/optimize/scheduled-task/{id}

Path parameters

idinteger required

The scheduled task ID

Response

Successfully retrieved scheduled task

idinteger required

Unique task ID

taskNamestring required

Name of the scheduled task

catalogNamestring required

Catalog name

namespacestring required

Namespace name

tableNamestring required

Table name

cronExpressionstring required

Cron expression for scheduling

cronDescriptionstring

Human-readable cron description

taskTypestring required

Type of task

enabledboolean required

Whether the task is enabled

lastRunAtstring date-time

Timestamp of last execution

lastRunStatusstring

Status of last execution

lastRunMessagestring

Message from last execution

nextRunAtstring date-time

Timestamp of next scheduled execution

createdBystring

User who created the task

createdAtstring date-time required

Task creation timestamp

updatedAtstring date-time required

Task last update timestamp