Skip to main content
GET
/
jobs
/
{jobId}
/
executions
/
{executionId}
Get job execution
curl --request GET \
  --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": "<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

executionId
string
required

Id of the execution

Response

successful operation

Job execution

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