Update a scheduled task
Update a scheduled task’s name, description, instructions, schedule, execution mode, write-tool approval mode, or Slack delivery. The task’s owner or an organization admin may update it.
/v1/projects/{projectId}/scheduled-tasks/{taskId}AuthorizationPersonal API key · headerrequiredYour personal API key from Settings > Personal API Keys, sent as Bearer <key>.
X-Organization-IdOrganization ID · headerrequiredThe organization to act in. Copy it with Copy organization ID in the organization menu or the settings sidebar.
projectIdstringrequiredtaskIdstringrequiredThe ID of the scheduled task.
application/jsonnamestringUpdated scheduled task name.
descriptionstring | nullUpdated human-readable scheduled task description.
instructionsstring | nullUpdated instructions the task follows on each run.
modestringExecution mode. Use fast for quick runs or deep_research for more thorough runs.
fastdeep_researchtool_permission_modestringWrite-tool approval mode. Use auto_require_permission to ask before write actions or always_accept to approve automatically.
auto_require_permissionalways_acceptscheduleobjectWhen the task runs on its own. An omitted cadence keeps the one already stored, so a schedule can be turned back on without restating it.
Show propertiesHide properties
enabledbooleanrequiredcadenceobject | nullShow propertiesHide properties
modestringfrequencystringrequireddailyweeklydayOfWeekintegerdaysOfWeekinteger[]hourintegerrequiredminuteintegerrequiredmodestringrequiredeveryintegerrequiredunitstringrequiredmodestringrequiredeveryintegerrequiredunitstringrequiredmodestringrequiredcronExpressionstringrequirednulltimezonestringIANA time zone the cadence is read in. Defaults to America/Los_Angeles. An update keeps the stored zone.
slack_channel_idsstring[]Slack channel IDs the final output of each scheduled run is posted to. An empty list stops delivery. Requires the organization to have Slack connected.
Response for status 200
taskobjectrequiredShow propertiesHide properties
idstringrequiredkindstringrequiredcustomsystemis_defaultbooleanrequirednamestringrequireddescriptionstring | nullrequiredinstructionsstring | nullrequiredmodestringrequiredfastdeep_researchtool_permission_modestringrequiredauto_require_permissionalways_acceptcreated_bystring | nullrequiredcreated_atstringrequiredupdated_atstringrequiredscheduleobject | nullrequiredShow propertiesHide properties
enabledbooleanrequiredcadenceobject | nullrequiredShow propertiesHide properties
modestringfrequencystringrequireddailyweeklydayOfWeekintegerdaysOfWeekinteger[]hourintegerrequiredminuteintegerrequiredmodestringrequiredeveryintegerrequiredunitstringrequiredmodestringrequiredeveryintegerrequiredunitstringrequiredmodestringrequiredcronExpressionstringrequirednulltimezonestringrequiredsync_errorstring | nullrequirednullslack_channel_idsstring[]requiredmessagestringrequired