jobs
Cancel job execution
Cancels a running job execution. Tasks already in progress will complete, but no new tasks will be started. The execution status changes to 'cancelling' then 'cancelled'.
delete/jobs/{jobId}/executions/{executionId}
Request
- Base URLhttps://api.blaxel.ai/v0
- Auth
- OAuth 2Authorization code/oauth/authorizeClient credentialsToken URL/oauth/tokenScopesjobs:delete
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
jobIdstring required
Name of the job
executionIdstring required
Id of the execution
Response
successful operation
Example response
{
"metadata": {
"id": "exec-abc123",
"job": "data-processing-job",
"workspace": "my-workspace"
},
"spec": {
"memoryOverride": 2048,
"parallelism": 5,
"tasks": [
{
"metadata": {
"name": "task-0"
},
"spec": {
"maxRetries": 3,
"timeout": "30m"
}
}
],
"timeout": 3600
},
"stats": {
"failure": 1,
"retried": 2,
"running": 1,
"success": 8,
"total": 10
},
"tasks": [
{
"metadata": {
"name": "task-0"
},
"spec": {
"maxRetries": 3,
"timeout": "30m"
}
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.