Deployments

Read Deployment Schedules

get/api/deployments/{id}/schedules

Path parameters

idstring uuid required

The deployment id

The deployment id

Headers

x-prefect-api-versionstring

Response

Successful Response

idstring uuid
createdstring date-time
updatedstring date-time
deployment_idstring uuid

The deployment id associated with this schedule.

activeboolean

Whether or not the schedule is active.

max_active_runsinteger

The maximum number of active runs for the schedule.

max_scheduled_runsinteger

The maximum number of scheduled runs for the schedule.

catchupboolean

Whether or not a worker should catch up on Late runs for the schedule.

Example response

[
  {
    "schedule": {
      "timezone": "America/New_York"
    }
  }
]

Changes

Changed in 2 of the 50 revisions of this API.4

    • added the optional property items/catchup to the response with the 200 status

      response-optional-property-added

    • added the optional property items/max_active_runs to the response with the 200 status

      response-optional-property-added

    • added the optional property items/max_scheduled_runs to the response with the 200 status

      response-optional-property-added

    • endpoint added

      endpoint-added