Update schedule
Update an existing schedule.
Authentication
AuthorizationBearer
Personal API Key (apk_user_) or Service API Key (apk_)
Path parameters
schedule_id
Schedule ID (prefix: sched-)
org_id
Request
This endpoint expects an object.
agent
Allowed values:
bypass_approval
enabled
frequency
interval_count
name
notify_on
Allowed values:
playbook_id
prompt
run_as_user_id
Set the user ID that this schedule will run as. Requires ImpersonateOrgSessions permission. Setting to null reverts to the default bot user. Omitting the field leaves the current identity unchanged.
schedule_type
Allowed values:
scheduled_at
slack_channel_id
slack_team_id
target_devin_id
Response
Successful Response
agent
Allowed values:
consecutive_failures
Number of consecutive failed executions.
created_at
ISO 8601 timestamp when the schedule was created.
created_by
User ID of the schedule creator.
enabled
Whether the schedule is currently active.
frequency
How often the schedule repeats.
last_error_at
ISO 8601 timestamp of the most recent error.
last_error_message
Error message from the most recent failed execution.
last_executed_at
ISO 8601 timestamp of the last execution.
name
Display name of the schedule.
notify_on
Allowed values:
org_id
Organization that owns this schedule (prefix org-).
playbook
prompt
scheduled_session_id
updated_at
bypass_approval
interval_count
last_edited_by
User ID of the last person to edit the schedule.
schedule_type
Allowed values:
scheduled_at
slack_channel_id
slack_team_id
target_devin_id
Errors
422
Unprocessable Entity Error