Skip to navigation

Get schedule

Get a specific schedule by ID.

Authentication

AuthorizationBearer

Personal API Key (apk_user_) or Service API Key (apk_)

Path parameters

schedule_idstringRequired

Schedule ID (prefix: sched-)

org_idstringRequired

Response

Successful Response
agentenum
Allowed values:
consecutive_failuresinteger
Number of consecutive failed executions.
created_atdatetime
ISO 8601 timestamp when the schedule was created.
created_bystring or null
User ID of the schedule creator.
enabledboolean
Whether the schedule is currently active.
frequencystring or null
How often the schedule repeats.
last_error_atdatetime or null
ISO 8601 timestamp of the most recent error.
last_error_messagestring or null
Error message from the most recent failed execution.
last_executed_atdatetime or null
ISO 8601 timestamp of the last execution.
namestring
Display name of the schedule.
notify_onenum
Allowed values:
org_idstring

Organization that owns this schedule (prefix org-).

playbookobject or null
promptstring
scheduled_session_idstring
updated_atdatetime
bypass_approvalbooleanOptionalDefaults to false
interval_countintegerOptionalDefaults to 1
last_edited_bystring or nullOptional
User ID of the last person to edit the schedule.
schedule_typeenumOptionalDefaults to recurring
Allowed values:
scheduled_atdatetime or nullOptional
slack_channel_idstring or nullOptional
slack_team_idstring or nullOptional
tagslist of strings or nullOptional
target_devin_idstring or nullOptional

Errors

422
Unprocessable Entity Error