Skip to main content
GET
/
jobs
/
{jobId}
/
executions
List job executions
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": "<string>",
      "job": "<string>",
      "startedAt": "<string>",
      "updatedAt": "<string>",
      "workspace": "<string>"
    },
    "spec": {
      "parallelism": 123,
      "tasks": [
        {
          "conditions": [
            {
              "executionReason": "<string>",
              "message": "<string>",
              "reason": "<string>",
              "severity": "<string>",
              "state": "<string>",
              "type": "<string>"
            }
          ],
          "metadata": {
            "completedAt": "<string>",
            "createdAt": "<string>",
            "name": "<string>",
            "scheduledAt": "<string>",
            "startedAt": "<string>",
            "updatedAt": "<string>"
          },
          "spec": {
            "maxRetries": 123,
            "timeout": "<string>"
          },
          "status": "<string>"
        }
      ],
      "timeout": 123
    },
    "stats": {
      "cancelled": 123,
      "failure": 123,
      "retried": 123,
      "running": 123,
      "success": 123,
      "total": 123
    },
    "status": "<string>",
    "tasks": [
      {
        "conditions": [
          {
            "executionReason": "<string>",
            "message": "<string>",
            "reason": "<string>",
            "severity": "<string>",
            "state": "<string>",
            "type": "<string>"
          }
        ],
        "metadata": {
          "completedAt": "<string>",
          "createdAt": "<string>",
          "name": "<string>",
          "scheduledAt": "<string>",
          "startedAt": "<string>",
          "updatedAt": "<string>"
        },
        "spec": {
          "maxRetries": 123,
          "timeout": "<string>"
        },
        "status": "<string>"
      }
    ]
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

jobId
string
required

Name of the job

Query Parameters

limit
integer
default:20

Number of items per page

Required range: 1 <= x <= 100
offset
integer
default:0

Page offset

Required range: x >= 0

Response

successful operation

metadata
object

Job execution metadata

spec
object

Job execution specification

stats
object

Job execution statistics

status
string

Execution status

tasks
object[]

List of execution tasks