v1

latestOpenAPI 3.0.3Apache-2.02026-07-17191824.1 KB
Schedules

Create a scheduled task.

post/v1/schedules

Request body

namestring required
schedulestring required

Cron expression (standard five-field form).

queuestring required
task_typestring required
{"stackTrail":"components:schemas:ScheduleCreateRequest:properties:payload","oasType":"schema","type":"unknown","description":"Any JSON value. The server encodes it to bytes on the task.\n"}
payload_base64string byte
deadline_offsetstring

Go duration string (e.g. 30s). At scheduled enqueue time the task's absolute deadline is computed by adding this offset to creation.

max_triesinteger

Response

Schedule created.

namestring required
schedulestring required

Cron expression.

queuestring required
task_typestring required
payloadstring byte
deadlineinteger
max_triesinteger
created_atstring date-time required