Skip to main content
POST
/
api
/
deployments
/
{id}
/
schedule
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Headers

x-prefect-api-version
string

Path Parameters

id
string<uuid>
required

The deployment id

Body

application/json
start_time
string<date-time>

The earliest date to schedule

end_time
string<date-time>

The latest date to schedule

min_time
number<time-delta>

Runs will be scheduled until at least this long after the start_time

min_runs
integer

The minimum number of runs to schedule

max_runs
integer

The maximum number of runs to schedule

Response

Successful Response