curl --request GET \
--url https://api.blaxel.ai/v0/jobs/{jobId}/executions \
--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": {
"envOverride": "{\"MY_VAR\": \"***\", \"BATCH_SIZE\": \"***\"}",
"memoryOverride": 2048,
"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"
}
]
}
]Returns paginated list of executions for a batch job, sorted by creation time. Each execution contains status, task counts, and timing information.
curl --request GET \
--url https://api.blaxel.ai/v0/jobs/{jobId}/executions \
--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": {
"envOverride": "{\"MY_VAR\": \"***\", \"BATCH_SIZE\": \"***\"}",
"memoryOverride": 2048,
"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
Name of the job
Number of items per page
1 <= x <= 100Page offset
x >= 0successful operation
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?