Schedules
Create a new schedule
post/api/schedules
Request body
keystring
Non-unique asset directory namespace (for example shared/ or personal/<user-id>/drafts/). Runtime write boundaries normalize and validate the canonical form.
namestring required
descriptionstring
cronExpressionstring
intervalMsinteger
taskTemplatestring
taskTypestring
tagsstring[]
priorityinteger
targetAgentIdstring
enabledboolean
timezonestring
modelstring
modelTier'smol' | 'regular' | 'smart' | 'ultra'
scheduleType'recurring' | 'one_time'
targetType'agent-task' | 'workflow' | 'script'
workflowIdstring uuid
scriptNamestring
scriptArgsobject
delayMsinteger
runAtstring
Response
Schedule created
idstring uuid required
keystring required
Non-unique asset directory namespace (for example shared/ or personal/<user-id>/drafts/). Runtime write boundaries normalize and validate the canonical form.
namestring required
descriptionstring
cronExpressionstring
intervalMsinteger
taskTemplatestring
taskTypestring
tagsstring[]
priorityinteger
targetAgentIdstring
enabledboolean
lastRunAtstring date-time
nextRunAtstring date-time
createdByAgentIdstring
timezonestring
consecutiveErrorsinteger
lastErrorAtstring date-time
lastErrorMessagestring
modelstring
modelTier'smol' | 'regular' | 'smart' | 'ultra'
scheduleType'recurring' | 'one_time'
targetType'agent-task' | 'workflow' | 'script'
workflowIdstring uuid
scriptNamestring
scriptArgsobject
createdAtstring date-time required
lastUpdatedAtstring date-time required
createdBystring
updatedBystring
favoriteboolean