compute
Create Sandbox Schedule
Adds a schedule to a Sandbox.
post/sandboxes/{sandboxName}/schedules
Request
- Base URLhttps://api.blaxel.ai/v0
- Auth
- OAuth 2Authorization code/oauth/authorizeClient credentialsToken URL/oauth/tokenScopessandboxes:create
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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"
}Changes
No recorded changes to this operation across all 1 revision of this API.