GET
/
spark
/
jobs
/
{id}
/
all
List all job runs
curl --request GET \
  --url https://{FUSION HOST}/api/spark/jobs/{id}/all \
  --header 'Authorization: Basic <encoded-value>'
[
  {
    "state": "unknown",
    "jobId": "<string>",
    "jobConfig": {
      "id": "<string>",
      "sparkConfig": [
        {
          "key": "<string>",
          "value": "<string>"
        }
      ],
      "type": "<string>"
    },
    "hostname": "<string>",
    "result": {
      "jobConfigId": "<string>",
      "jobRunId": "<string>",
      "exception": {}
    },
    "startTime": "2023-11-07T05:31:56Z",
    "endTime": "2023-11-07T05:31:56Z",
    "duration": 123
  }
]

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

id
string
required

The name of the job configuration for which to find job runs.

Response

200 - */*

OK

state
enum<string>

The job run's current status.

Available options:
unknown,
idle,
starting,
running,
finishing,
cancelling,
finished,
cancelled,
error,
skipped
jobId
string

The unique job run ID.

jobConfig
object
hostname
string

The host that ran the job.

result
object
startTime
string<date-time>

The job's start time, shown if the job has finished.

endTime
string<date-time>

The job's end time, shown if the job has finished.

duration
integer

The job's total run time, shown if the job has finished.