Retrieves all the jobs executions
GET {{baseUrl}}/jobs?pageNumber=<integer>&pageSize=<integer>&filter=<string>
Retrieves all the job executions within a tenant, sorted by creationDate descendant order, up to 10.000 items, paged, maximum 100 items per request if no paging parameters are specified. The service purges all jobs older than 90 days that have one of the final statuses (e.g. STOPPED, FAILED, SUCCEEDED).
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
pageNumber | string | Specifies the requested page index | |
pageSize | string | Specifies the number of elements in a page | |
filter | string | Complex and flexible filter that can filter by modelId, message, status and creationDate. <br /> All the top fields used in the filter are ANDed, but the searched values can use AND and OR operands, including comparison operators where the values allow. All fields are optional.<br /> The expected format follows:<br /> ?filter={ | |
"message": { |
"contains": "Error"
}, "status": { "or": { {"eq" : "STOPPED"}, {"eq" : "FAILED"} } }, "creationDate": { {"after": "2018-06-23T20:09:00"} } } |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"jobs":[{"id":"545cc745-a8e7-6b26-6541-aa690dbf2efa","modelId":"951b3240-7857-11e8-adc0-fa7ae01bbebc","configurationId":"ce30e624-4468-4185-8433-f183b419b0ec","environmentId":"urn:uuid:5af0de1e-6488-c278-3149-8ec063511561","maxExecutionTime":3600,"message":"Job failed due to lack of input data","status":"SUCCEEDED","creationDate":"2017-10-01T12:00:00.001Z","createdBy":"jobmgr","inputFolderId":"17f9d94e-8417-11e8-adc0-fa7ae01bbebc","outputFolderId":"0cf21f02-8417-11e8-adc0-fa7ae01bbebc"},{"id":"ac96cf37-b6f3-b46e-c499-f4ddf9d757c7","modelId":"951b3240-7857-11e8-adc0-fa7ae01bbebc","configurationId":"ce30e624-4468-4185-8433-f183b419b0ec","environmentId":"f8203c16-7b3f-567a-e789-2b752f64e866","maxExecutionTime":3600,"message":"Job failed due to lack of input data","status":"RUNNING","creationDate":"2017-10-01T12:00:00.001Z","createdBy":"jobmgr","inputFolderId":"17f9d94e-8417-11e8-adc0-fa7ae01bbebc","outputFolderId":"0cf21f02-8417-11e8-adc0-fa7ae01bbebc"}],"page":{"number":20038418,"size":-51040239,"totalPages":58166927,"totalElements":40173056}}