v1

latestOpenAPI 3.1.02026-08-0472428.7 KB
Study Schedules

Create or update a study schedule

Creates a new schedule for the study if one doesn't exist, or updates the existing schedule. The study must belong to the authenticated user. When enabled, next_scheduled_run is set to now plus the repeat interval. When disabled, next_scheduled_run is cleared.

put/v1/study-schedules/{study_id}

Path parameters

study_idstring required

The UUID of the study to schedule

Request body

enabledboolean required
repeat_interval7 | 14 | 30 nullable

Response

OK

enabledboolean required
idstring required
next_scheduled_runstring date-time nullable
repeat_interval7 | 14 | 30 nullable
source_study_idstring required