Query
schedule_item
Returns an individual schedule item. A schedule item groups all of the scheduling data about a configured scan, such as the time and date when the scan is scheduled to run, and how frequently. When a scheduled scan is due to start, a Scan object is created based on the associated schedule item. Note that for recurring scans, all individual occurrences of the scan share a common schedule item.
Returns
Example
Query
query GetScheduleItem($id: ID!) {
schedule_item(id: $id) {
id
sites {
id
name
}
schedule {
initial_run_time
rrule
name
description
}
scan_configurations {
id
name
}
scheduled_run_time
}
}
Variables
{
"id": "1"
}
Result
{
"data": {
"schedule_item": {
"id": "1",
"sites": [
{
"id": "1",
"name": "Example site"
}
],
"schedule": {
"initial_run_time": "2026-01-05T09:00:00.000Z",
"rrule": "FREQ=WEEKLY;INTERVAL=1;BYDAY=MO",
"name": "Weekly scan",
"description": "Scans the example site every Monday morning"
},
"scan_configurations": [
{
"id": "11b1fb41-b670-3a84-89a3-23b12ca4f7ca",
"name": "Crawl strategy - fastest"
}
],
"scheduled_run_time": "2026-01-05T09:00:00.000Z"
}
}
}