List the schedules stored for a project, newest first, to find a schedule or check its state and last runs; returns one page of schedules. Requires project.runs.read.
Arguments
projectReferenceString!requiredinputSchedulesInputinput.statusScheduleStatusOne of
active,paused,deleting.input.sourceTriggerIdStringOnly the schedule activated from this source schedule.
input.sortByScheduleSortByDefault created_at; ties break by id ascending. One of
created_at,name.input.sortOrderScheduleSortOrderDefault desc. One of
asc,desc.input.limitIntMaximum schedules per page, 1 to 200; default 100.
input.cursorIDThe previous page's pageInfo.endCursor. Keep the other fields the same across pages.
Responses
query Schedules($projectReference: String!) { schedules(projectReference: $projectReference) { data { id projectId name status schedule timezone runtimeTargetKind runtimeTargetEnvironmentId runtimeTargetBranchId config timeoutSeconds backoffLimit concurrencyPolicy definitionSource sourceTriggerId sourcePath sourceHash lastScheduledAt lastSuccessfulAt health maxRuns runCount completedAt pausedReason pausedAt lastFailureAt lastFailureCode lastFailureMessage lastFailureRunId createdBy createdAt updatedAt } pageInfo { hasNextPage hasPreviousPage startCursor endCursor } }}{ "data": { "schedules": { "data": [ { "id": "string", "projectId": "string", "name": "string", "status": "active", "schedule": "string", "timezone": "string", "runtimeTargetKind": "main_branch", "runtimeTargetEnvironmentId": "string", "runtimeTargetBranchId": "string", "config": {}, "timeoutSeconds": 0, "backoffLimit": 0, "concurrencyPolicy": "allow", "definitionSource": "manual", "sourceTriggerId": "string", "sourcePath": "string", "sourceHash": "string", "lastScheduledAt": "2026-01-01T00:00:00Z", "lastSuccessfulAt": "2026-01-01T00:00:00Z", "health": {}, "maxRuns": 0, "runCount": 0, "completedAt": "2026-01-01T00:00:00Z", "pausedReason": "string", "pausedAt": "2026-01-01T00:00:00Z", "lastFailureAt": "2026-01-01T00:00:00Z", "lastFailureCode": "string", "lastFailureMessage": "string", "lastFailureRunId": "string", "createdBy": "string", "createdAt": "2026-01-01T00:00:00Z", "updatedAt": "2026-01-01T00:00:00Z" } ], "pageInfo": { "hasNextPage": false, "hasPreviousPage": false, "startCursor": "string", "endCursor": "string" } } }}The ScheduleList! in data.schedules.