v1

latestOpenAPI 3.0.32026-07-222111928.0 KB
Schedules

Create Schedule

Create a schedule for an agent. The schedule fires against the agent's live build. The authenticated user owns the schedule.

post/v2/agents/{agent_id}/schedules

Path parameters

agent_idstring uuid required

The agent's unique identifier

Request body

enabledboolean required
frequency'every_5_minutes' | 'every_15_minutes' | 'hourly' | 'daily' | 'workday' | 'weekly' | 'monthly' | 'custom' required
timestring nullable
timezonestring required
day'monday' | 'tuesday' | 'wednesday' | 'thursday' | 'friday' | 'saturday' | 'sunday' nullable
day_of_monthinteger nullable
cronstring nullable
recurringboolean nullable

Response

Default Response

idstring required
build_idstring required
agent_idstring required
user_idstring required
enabledboolean required
frequency'every_5_minutes' | 'every_15_minutes' | 'hourly' | 'daily' | 'workday' | 'weekly' | 'monthly' | 'custom' required
timestring nullable required
timezonestring required
daystring nullable required
day_of_monthnumber nullable required
cronstring nullable required
sourcestring nullable required
taskstring nullable required
recurringboolean nullable required
auto_disabled_atstring nullable required
auto_disabled_reasonstring nullable required
consecutive_missing_connection_failuresinteger required
first_missing_connection_failure_atstring nullable required
last_missing_connection_failure_atstring nullable required
created_atstring required
updated_atstring required
user_namestring nullable
user_emailstring nullable