curl --request GET \
--url https://api.example.com/api/schedules{
"schedules": [
{
"id": 1,
"type": "container_update",
"name": "Update container: nginx",
"entityName": "nginx",
"environmentId": 1,
"environmentName": "Production",
"enabled": true,
"scheduleType": "daily",
"cronExpression": "0 3 * * *",
"nextRun": "2026-03-05T03:00:00.000Z",
"lastExecution": {
"id": 123,
"startedAt": "2026-03-04T03:00:00.000Z",
"completedAt": "2026-03-04T03:01:45.000Z",
"status": "success"
},
"recentExecutions": [],
"isSystem": false,
"envHasScanning": true,
"vulnerabilityCriteria": "critical_high"
},
{
"id": 2,
"type": "git_stack_sync",
"name": "Git sync: my-stack",
"entityName": "my-stack",
"environmentId": 1,
"environmentName": "Production",
"enabled": true,
"scheduleType": "weekly",
"cronExpression": "0 2 * * 1",
"nextRun": "2026-03-10T02:00:00.000Z",
"lastExecution": null,
"recentExecutions": [],
"isSystem": false
},
{
"id": 3,
"type": "env_update_check",
"name": "Update environment: Production",
"entityName": "Production",
"description": "Check, scan & auto-update containers",
"environmentId": 1,
"environmentName": "Production",
"enabled": true,
"scheduleType": "custom",
"cronExpression": "0 4 * * *",
"nextRun": "2026-03-05T04:00:00.000Z",
"lastExecution": null,
"recentExecutions": [],
"isSystem": false,
"envHasScanning": true,
"vulnerabilityCriteria": "critical"
}
]
}
curl --request GET \
--url https://api.example.com/api/schedules{
"schedules": [
{
"id": 1,
"type": "container_update",
"name": "Update container: nginx",
"entityName": "nginx",
"environmentId": 1,
"environmentName": "Production",
"enabled": true,
"scheduleType": "daily",
"cronExpression": "0 3 * * *",
"nextRun": "2026-03-05T03:00:00.000Z",
"lastExecution": {
"id": 123,
"startedAt": "2026-03-04T03:00:00.000Z",
"completedAt": "2026-03-04T03:01:45.000Z",
"status": "success"
},
"recentExecutions": [],
"isSystem": false,
"envHasScanning": true,
"vulnerabilityCriteria": "critical_high"
},
{
"id": 2,
"type": "git_stack_sync",
"name": "Git sync: my-stack",
"entityName": "my-stack",
"environmentId": 1,
"environmentName": "Production",
"enabled": true,
"scheduleType": "weekly",
"cronExpression": "0 2 * * 1",
"nextRun": "2026-03-10T02:00:00.000Z",
"lastExecution": null,
"recentExecutions": [],
"isSystem": false
},
{
"id": 3,
"type": "env_update_check",
"name": "Update environment: Production",
"entityName": "Production",
"description": "Check, scan & auto-update containers",
"environmentId": 1,
"environmentName": "Production",
"enabled": true,
"scheduleType": "custom",
"cronExpression": "0 4 * * *",
"nextRun": "2026-03-05T04:00:00.000Z",
"lastExecution": null,
"recentExecutions": [],
"isSystem": false,
"envHasScanning": true,
"vulnerabilityCriteria": "critical"
}
]
}
Show ScheduleInfo properties
container_update - Container auto-update schedulegit_stack_sync - Git stack sync scheduleenv_update_check - Environment update check scheduleimage_prune - Image prune schedulesystem_cleanup - System cleanup jobdaily - Runs once per dayweekly - Runs once per weekcustom - Custom cron expressionminute hour day month weekdaynever - Never block updatesany - Block if any vulnerabilities foundcritical_high - Block if critical or high severity foundcritical - Block only on critical severitymore_than_current - Block if more vulnerabilities than current imageminute hour day month weekday
* * * * *
0 3 * * *
{
"schedules": [
{
"id": 1,
"type": "container_update",
"name": "Update container: nginx",
"entityName": "nginx",
"environmentId": 1,
"environmentName": "Production",
"enabled": true,
"scheduleType": "daily",
"cronExpression": "0 3 * * *",
"nextRun": "2026-03-05T03:00:00.000Z",
"lastExecution": {
"id": 123,
"startedAt": "2026-03-04T03:00:00.000Z",
"completedAt": "2026-03-04T03:01:45.000Z",
"status": "success"
},
"recentExecutions": [],
"isSystem": false,
"envHasScanning": true,
"vulnerabilityCriteria": "critical_high"
},
{
"id": 2,
"type": "git_stack_sync",
"name": "Git sync: my-stack",
"entityName": "my-stack",
"environmentId": 1,
"environmentName": "Production",
"enabled": true,
"scheduleType": "weekly",
"cronExpression": "0 2 * * 1",
"nextRun": "2026-03-10T02:00:00.000Z",
"lastExecution": null,
"recentExecutions": [],
"isSystem": false
},
{
"id": 3,
"type": "env_update_check",
"name": "Update environment: Production",
"entityName": "Production",
"description": "Check, scan & auto-update containers",
"environmentId": 1,
"environmentName": "Production",
"enabled": true,
"scheduleType": "custom",
"cronExpression": "0 4 * * *",
"nextRun": "2026-03-05T04:00:00.000Z",
"lastExecution": null,
"recentExecutions": [],
"isSystem": false,
"envHasScanning": true,
"vulnerabilityCriteria": "critical"
}
]
}