Read one schedule by its ID to inspect its target, cron expression, runtime target, state and last failure; returns the schedule. Requires project.runs.read.
Arguments
projectReferenceString!requiredscheduleIdID!required
Responses
query Schedule($projectReference: String!, $scheduleId: ID!) { schedule(projectReference: $projectReference, scheduleId: $scheduleId) { id projectId name status target { kind id conversationMode conversationId } 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 integrationRequirements { integration requiredScopes } createdAt updatedAt }}{ "data": { "schedule": { "id": "string", "projectId": "string", "name": "string", "status": "active", "target": { "kind": "task", "id": "string", "conversationMode": "create_new", "conversationId": "string" }, "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", "integrationRequirements": [ { "integration": "string", "requiredScopes": [ "string" ] } ], "createdAt": "2026-01-01T00:00:00Z", "updatedAt": "2026-01-01T00:00:00Z" } }}The Schedule! in data.schedule.