---
updatedAt: 2026-05-28T08:16:45.000Z
agentTools:
  projectIndex: https://docs.scalr.io/llms.txt
---

# List all run schedule rules.

This endpoint returns a list of run schedule rules.


# OpenAPI definition

```json
{
  "components": {
    "schemas": {
      "RunScheduleRule": {
        "description": "A RunScheduleRule resource represents a rule for scheduling runs in a workspace.\n\nEach RunScheduleRule is associated with a workspace and has a schedule and a schedule mode.\nThe schedule is a cron expression that determines when runs should be triggered.\nThe schedule mode determines whether the triggered run is an 'apply' 'destroy' or 'refresh' run.",
        "properties": {
          "attributes": {
            "properties": {
              "schedule": {
                "description": "Cron expression for scheduled runs. Time should be in UTC.",
                "maxLength": 255,
                "type": "string"
              },
              "schedule-mode": {
                "description": "Mode of the scheduled run.",
                "enum": [
                  "apply",
                  "destroy",
                  "refresh"
                ],
                "type": "string"
              }
            },
            "required": [
              "schedule",
              "schedule-mode"
            ],
            "type": "object"
          },
          "id": {
            "readOnly": true,
            "type": "string"
          },
          "links": {
            "properties": {
              "self": {
                "readOnly": true,
                "type": "string"
              }
            },
            "readOnly": true,
            "type": "object"
          },
          "relationships": {
            "properties": {
              "workspace": {
                "description": "Workspace in which new runs will be created.",
                "properties": {
                  "data": {
                    "nullable": true,
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "type": {
                        "enum": [
                          "workspaces",
                          ""
                        ],
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "id"
                    ],
                    "type": "object"
                  }
                },
                "required": [
                  "data"
                ],
                "type": "object"
              }
            },
            "type": "object"
          },
          "type": {
            "enum": [
              "run-schedule-rules"
            ],
            "type": "string"
          }
        },
        "required": [
          "type",
          "attributes"
        ],
        "type": "object"
      },
      "RunScheduleRuleListingDocument": {
        "description": "JSON:API Document Listing\n\nsee: https://jsonapi.org/format/#document-structure",
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/RunScheduleRule"
            },
            "type": "array"
          },
          "included": {
            "items": {
              "type": "object"
            },
            "readOnly": true,
            "type": "array"
          },
          "links": {
            "additionalProperties": {
              "type": "string"
            },
            "readOnly": true,
            "type": "object"
          },
          "meta": {
            "readOnly": true,
            "type": "object"
          }
        },
        "type": "object"
      }
    },
    "securitySchemes": {
      "API-Key": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  },
  "info": {
    "description": "Scalr IACP API",
    "license": {
      "name": "Apache 2.0",
      "url": "https://www.apache.org/licenses/LICENSE-2.0"
    },
    "title": "Scalr IACP API",
    "version": "unversioned"
  },
  "openapi": "3.0.0",
  "paths": {
    "/run-schedule-rules": {
      "get": {
        "description": "This endpoint returns a list of run schedule rules.\n",
        "operationId": "list_schedule_rules",
        "parameters": [
          {
            "description": "Filter by the ID of the workspace.",
            "in": "query",
            "name": "filter[workspace]",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Filter by the schedule mode.",
            "in": "query",
            "name": "filter[schedule-mode]",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Page number",
            "in": "query",
            "name": "page[number]",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Page size",
            "in": "query",
            "name": "page[size]",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "The comma-separated list of relationship paths.",
            "explode": false,
            "in": "query",
            "name": "include",
            "required": false,
            "schema": {
              "items": {
                "enum": [
                  "workspace"
                ],
                "type": "string"
              },
              "type": "array"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/vnd.api+json": {
                "schema": {
                  "$ref": "#/components/schemas/RunScheduleRuleListingDocument"
                }
              }
            },
            "description": "Request was successful."
          },
          "4XX": {
            "description": "Client error."
          },
          "5XX": {
            "description": "Server error."
          }
        },
        "summary": "List all run schedule rules.",
        "tags": [
          "run-schedule-rules"
        ],
        "x-resource": "RunScheduleRule",
        "x-service": "tf-api"
      }
    }
  },
  "security": [
    {
      "API-Key": []
    }
  ],
  "servers": [
    {
      "url": "https://{Domain}/api/iacp/v3",
      "variables": {
        "Domain": {
          "default": "example.scalr.io",
          "description": "Domain where Scalr is hosted"
        }
      }
    }
  ]
}
```

# Sibling pages

* [Create a Run schedule rule.](https://docs.scalr.io/scalr/reference/create_run_schedule_rule.md)
* [Delete a Schedule Rule.](https://docs.scalr.io/scalr/reference/delete_run_schedule_rule.md)
* [Get a Run schedule rule.](https://docs.scalr.io/scalr/reference/get_run_schedule_rule.md)
* [Update a Run schedule rule.](https://docs.scalr.io/scalr/reference/update_run_schedule_rule.md)