v1
latestOpenAPI 3.0.32026-07-22194221292.5 KBcompute
Update Sandbox Schedule
Updates a Sandbox Schedule by id.
put/sandboxes/{sandboxName}/schedules/{scheduleId}
Request body
Example request
{
"id": "schedule-0",
"input": {
"command": "python train.py --epochs 10",
"keepAlive": true,
"name": "training-job",
"timeout": 3600,
"workingDir": "/app"
},
"maxExecutions": 100,
"type": "cron",
"value": "0 8 * * 1-5"
}Response
successful operation
Example response
{
"id": "schedule-0",
"input": {
"command": "python train.py --epochs 10",
"keepAlive": true,
"name": "training-job",
"timeout": 3600,
"workingDir": "/app"
},
"maxExecutions": 100,
"type": "cron",
"value": "0 8 * * 1-5"
}