Get schedule

schedule(projectReference: String!, scheduleId: ID!): Schedule!

Requires project.runs.read.

Arguments

ArgumentTypeRequired
projectReferenceString!Yes
scheduleIdID!Yes

Response

Returns Schedule!. Open the type for its fields and nested types.

FieldTypeDescription
idID!
projectIdID!
nameString!
statusScheduleStatus!
targetScheduleTarget!
scheduleString!The cron expression.
timezoneString!
runtimeTargetKindRuntimeTargetKind!

All fields of Schedule.

Types marked with ! cannot be null. Lists use [Type] notation. The type index lists all published input and response types.

Example

query.graphql
query Schedule($projectReference: String!, $scheduleId: ID!) {  schedule(projectReference: $projectReference, scheduleId: $scheduleId) {    id    projectId    name    status    createdAt  }}
variables.json
{  "projectReference": "example",  "scheduleId": "00000000-0000-4000-8000-000000000001"}