List Schedules
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"
}
]
}
Scheduling & Automation
List Schedules
GET
/
api
/
schedules
List Schedules
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"
}
]
}
Returns all active schedules including container auto-updates, git stack syncs, environment update checks, image prune jobs, and system cleanup tasks.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/Finsys/dockhand/llms.txt
Use this file to discover all available pages before exploring further.
Response
Returns an object containing an array of schedule information.Response Fields
Array of schedule objects
Show ScheduleInfo properties
Show ScheduleInfo properties
Unique schedule identifier
Schedule type. One of:
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 job
Display name for the schedule
Name of the entity being scheduled (container name, stack name, or environment name)
Optional description of what the schedule does
Associated environment ID, or null for system jobs
Associated environment name, or null for system jobs
Whether the schedule is currently enabled
Schedule frequency type:
daily- Runs once per dayweekly- Runs once per weekcustom- Custom cron expression
Cron expression defining when the schedule runs. Standard 5-field format:
minute hour day month weekdayISO 8601 timestamp of next scheduled execution, or null if disabled
Last execution data (if any)
Array of recent execution data (up to 5 most recent)
Whether this is a system schedule (cannot be deleted)
(Container updates only) Whether the environment has vulnerability scanning enabled
(Container updates only) Criteria for blocking updates based on vulnerabilities:
never- 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 image
Cron Expression Format
Cron expressions use standard 5-field format:minute hour day month weekday
* * * * *
- minute: 0-59
- hour: 0-23 (24-hour format)
- day: 1-31 (day of month)
- month: 1-12
- weekday: 0-7 (0 and 7 are Sunday)
Common Examples
0 3 * * *
Response Example
{
"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"
}
]
}
⌘I
