Fleet Automation

List all schedules

Retrieve a list of all schedules for automated fleet deployments.

Schedules allow you to automate package upgrades by defining maintenance windows and recurrence rules. Each schedule automatically creates deployments based on its configuration.

get/api/unstable/fleet/schedules

Request

  • Base URL
    https://api.datadoghq.com
  • URL
    https://api.datadoghq.com/api/unstable/fleet/schedules
  • Auth
    API key in header DD-API-KEY and API key in header DD-APPLICATION-KEY

Response

OK

Example response

{
  "data": [
    {
      "attributes": {
        "created_at_unix": 1699999999,
        "created_by": "user@example.com",
        "name": "Weekly Production Agent Updates",
        "query": "env:prod AND service:web",
        "rule": {
          "days_of_week": [
            "Mon",
            "Wed",
            "Fri"
          ],
          "maintenance_window_duration": 1200,
          "start_maintenance_window": "02:00",
          "timezone": "America/New_York"
        },
        "status": "active",
        "updated_at_unix": 1699999999,
        "updated_by": "user@example.com"
      },
      "id": "abc-def-ghi-123",
      "type": "schedule"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.