Skip to navigation

CreateSchedule

View as Markdown
Creates a new schedule

CreateScheduleRequest

Request
This endpoint expects an object.
namestring

Schedule name (required, 1-100 characters)

actionenum

Action to perform (required)

Allowed values:
action_configobject

Power target configuration (required when action is SET_POWER_TARGET)

schedule_typeenum

Schedule type (required)

Allowed values:
recurrenceobject

Recurrence configuration (required when schedule_type is RECURRING)

start_datestring

Start date in YYYY-MM-DD format (required)

start_timestring

Start time in HH:MM format (required)

end_timestring

End time in HH:MM format (for power target time windows)

end_datestring

End date in YYYY-MM-DD format (if set, schedule ends on this date; if absent, runs indefinitely)

timezonestring

IANA timezone string (required, e.g. “America/Chicago”)

targetslist of objects

Targets for this schedule (racks and/or miners)

CreateScheduleResponse

Response
This endpoint returns an object.
scheduleobject
Full schedule entity