Schedules
Update a schedule
put/api/schedules/{id}
Path parameters
idstring required
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
descriptionstring
cronExpressionstring nullable
intervalMsinteger nullable
taskTemplatestring
taskTypestring
tagsstring[]
priorityinteger
targetAgentIdstring nullable
enabledboolean
timezonestring
modelstring nullable
modelTier'smol' | 'regular' | 'smart' | 'ultra' | 'null' nullable
nextRunAtstring nullable
targetType'agent-task' | 'workflow' | 'script'
workflowIdstring uuid nullable
scriptNamestring nullable
scriptArgsobject nullable
Response
Schedule updated
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