Skip to main content
GET
/
jobs
/
{resource}
/
history
Get a job's run history
import requests

url = "https://{FUSION HOST}/api/jobs/{resource}/history"

response = requests.get(url)

print(response.json())
[
  {
    "resource": "datasource:movies-db",
    "startTime": "2017-05-17T21:01:46.743Z",
    "endTime": "2017-05-17T21:02:05.720Z",
    "status": "success"
  },
  {
    "resource": "datasource:movies-db",
    "startTime": "2017-05-17T20:58:10.503Z",
    "endTime": "2017-05-17T20:58:42.020Z",
    "status": "success"
  }
]

Path Parameters

resource
string
required

The job ID.

Query Parameters

limit
integer
default:100

Return first N history items.

Response

200 - */*

successful operation

resource

Resource reference as a string, such as 'datasource:ratings-db'

runId
string
startTime
string<date-time>
endTime
string<date-time>
status
string

Values include ready, running, success, aborted, or failed.

error
object
extra
object
startedBy
string