List all runs for all jobs
import requests
url = "https://{FUSION HOST}/api/spark/jobs"
headers = {"Authorization": "Basic <encoded-value>"}
response = requests.get(url, headers=headers)
print(response.text)[
{
"state": "running",
"jobId": "xamafwrdxnkb",
"jobConfig": {
"type": "parallel-bulk-loader",
"id": "index_synthetic_data",
"format": "json",
"path": "gs://lucidworks-example-data/hardware/1000/1000_synthetic.json",
"outputCollection": "Synthetic_dataset_test",
"outputIndexPipeline": "Synthetic_dataset_test",
"clearDatasource": false,
"defineFieldsUsingInputSchema": true,
"atomicUpdates": false,
"cacheAfterRead": false,
"continueAfterFailure": false,
"updates": [
{
"userId": "docs",
"timestamp": "2025-08-14T20:50:09.847634657Z"
}
]
},
"hostname": "10.64.19.46",
"result": {
"jobConfigId": "index_synthetic_data",
"jobRunId": "xamafwrdxnkb",
"podId": "driver-index-synthetic-data-xama-xamafwrdxnkb"
}
}
]List all runs for all jobs
Get the list of recent job runs for all job configurations.
GET
/
spark
/
jobs
List all runs for all jobs
import requests
url = "https://{FUSION HOST}/api/spark/jobs"
headers = {"Authorization": "Basic <encoded-value>"}
response = requests.get(url, headers=headers)
print(response.text)[
{
"state": "running",
"jobId": "xamafwrdxnkb",
"jobConfig": {
"type": "parallel-bulk-loader",
"id": "index_synthetic_data",
"format": "json",
"path": "gs://lucidworks-example-data/hardware/1000/1000_synthetic.json",
"outputCollection": "Synthetic_dataset_test",
"outputIndexPipeline": "Synthetic_dataset_test",
"clearDatasource": false,
"defineFieldsUsingInputSchema": true,
"atomicUpdates": false,
"cacheAfterRead": false,
"continueAfterFailure": false,
"updates": [
{
"userId": "docs",
"timestamp": "2025-08-14T20:50:09.847634657Z"
}
]
},
"hostname": "10.64.19.46",
"result": {
"jobConfigId": "index_synthetic_data",
"jobRunId": "xamafwrdxnkb",
"podId": "driver-index-synthetic-data-xama-xamafwrdxnkb"
}
}
]Authorizations
Basic authAPI key
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Response
200 - */*
OK
The job run's current status.
Available options:
unknown, idle, starting, running, finishing, cancelling, finished, cancelled, error, skipped The unique job run ID.
The job's configuration details.
Show child attributes
Show child attributes
The host that ran the job.
Show child attributes
Show child attributes
The job's start time, shown if the job has finished.
The job's end time, shown if the job has finished.
The job's total run time, shown if the job has finished.
Example:
[
{
"state": "running",
"jobId": "xamafwrdxnkb",
"jobConfig": {
"type": "parallel-bulk-loader",
"id": "index_synthetic_data",
"format": "json",
"path": "gs://lucidworks-example-data/hardware/1000/1000_synthetic.json",
"outputCollection": "Synthetic_dataset_test",
"outputIndexPipeline": "Synthetic_dataset_test",
"clearDatasource": false,
"defineFieldsUsingInputSchema": true,
"atomicUpdates": false,
"cacheAfterRead": false,
"continueAfterFailure": false,
"updates": [
{
"userId": "docs",
"timestamp": "2025-08-14T20:50:09.847634657Z"
}
]
},
"hostname": "10.64.19.46",
"result": {
"jobConfigId": "index_synthetic_data",
"jobRunId": "xamafwrdxnkb",
"podId": "driver-index-synthetic-data-xama-xamafwrdxnkb"
}
}
]Was this page helpful?
⌘I