curl --request DELETE \
--url https://api.blaxel.ai/v0/jobs/{jobId}/executions/{executionId} \
--header 'Authorization: Bearer <token>'{
"metadata": {
"cluster": "<string>",
"completedAt": "<string>",
"createdAt": "<string>",
"deletedAt": "<string>",
"expiredAt": "<string>",
"id": "exec-abc123",
"job": "data-processing-job",
"startedAt": "<string>",
"updatedAt": "<string>",
"workspace": "my-workspace"
},
"spec": {
"parallelism": 5,
"tasks": [
{
"conditions": [
{
"executionReason": "<string>",
"message": "<string>",
"reason": "<string>",
"severity": "<string>",
"state": "<string>",
"type": "<string>"
}
],
"metadata": {
"completedAt": "<string>",
"createdAt": "<string>",
"name": "task-0",
"scheduledAt": "<string>",
"startedAt": "<string>",
"updatedAt": "<string>"
},
"spec": {
"maxRetries": 3,
"timeout": "30m"
},
"status": "unspecified"
}
],
"timeout": 3600
},
"stats": {
"cancelled": 0,
"failure": 1,
"retried": 2,
"running": 1,
"success": 8,
"total": 10
},
"status": "queued",
"tasks": [
{
"conditions": [
{
"executionReason": "<string>",
"message": "<string>",
"reason": "<string>",
"severity": "<string>",
"state": "<string>",
"type": "<string>"
}
],
"metadata": {
"completedAt": "<string>",
"createdAt": "<string>",
"name": "task-0",
"scheduledAt": "<string>",
"startedAt": "<string>",
"updatedAt": "<string>"
},
"spec": {
"maxRetries": 3,
"timeout": "30m"
},
"status": "unspecified"
}
]
}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’.
curl --request DELETE \
--url https://api.blaxel.ai/v0/jobs/{jobId}/executions/{executionId} \
--header 'Authorization: Bearer <token>'{
"metadata": {
"cluster": "<string>",
"completedAt": "<string>",
"createdAt": "<string>",
"deletedAt": "<string>",
"expiredAt": "<string>",
"id": "exec-abc123",
"job": "data-processing-job",
"startedAt": "<string>",
"updatedAt": "<string>",
"workspace": "my-workspace"
},
"spec": {
"parallelism": 5,
"tasks": [
{
"conditions": [
{
"executionReason": "<string>",
"message": "<string>",
"reason": "<string>",
"severity": "<string>",
"state": "<string>",
"type": "<string>"
}
],
"metadata": {
"completedAt": "<string>",
"createdAt": "<string>",
"name": "task-0",
"scheduledAt": "<string>",
"startedAt": "<string>",
"updatedAt": "<string>"
},
"spec": {
"maxRetries": 3,
"timeout": "30m"
},
"status": "unspecified"
}
],
"timeout": 3600
},
"stats": {
"cancelled": 0,
"failure": 1,
"retried": 2,
"running": 1,
"success": 8,
"total": 10
},
"status": "queued",
"tasks": [
{
"conditions": [
{
"executionReason": "<string>",
"message": "<string>",
"reason": "<string>",
"severity": "<string>",
"state": "<string>",
"type": "<string>"
}
],
"metadata": {
"completedAt": "<string>",
"createdAt": "<string>",
"name": "task-0",
"scheduledAt": "<string>",
"startedAt": "<string>",
"updatedAt": "<string>"
},
"spec": {
"maxRetries": 3,
"timeout": "30m"
},
"status": "unspecified"
}
]
}OAuth2 authentication with JWT tokens
successful operation
Job execution
Job execution metadata
Show child attributes
Job execution specification
Show child attributes
Job execution statistics
Show child attributes
Job execution status
queued, pending, running, cancelling, cancelled, failed, succeeded, timeout List of execution tasks
Show child attributes
Was this page helpful?