Retrieves a list of jobs executed instructions
Overview
Detailed Instructions about how retrieves a list of jobs executed instructions.
Step-by-step guide
- For all jobsÂ
Using this url with a GET request:
INDEX_SERVICE_URL/services/jobs/INDEX_TOKEN
you will retrieve a list of the last index requests like this:[ { id: "554075bee4b0950771fea45f", clientId: "testclient", feedId: "ONE_FEED_ID", fileId: "autogenerated-id", state: "SUCCESS", date: "Apr 29, 2015 8:10:06 AM", metrics: { rTime: 590, wTime: 7322, tTime: 9117, wProcessed: 22511, rProcessed: 22511 } }, { id: "55403d7fe4b0de7376f72bd1", clientId: "testclient", feedId: "ANOTHER_FEED_ID", fileId: "autogenerated-id", state: "FAILURE", date: "Apr 29, 2015 4:10:07 AM", error:[{ "Unexpedted content in prolog" } ] metrics: { rTime: 571, wTime: 7037, tTime: 8723, wProcessed: 21867, rProcessed: 21867 } } ]
- Jobs by FEED_ID
Using this url with a GET request:
INDEX_SERVICE_URL/services/jobs/feed/INDEX_TOKEN/FEED_ID
 you will retrieve a list of the last index requests for a certain FEED_ID:[ { id: "554075bee4b0950771fea45f", clientId: "testclient", feedId: "ONE_FEED_ID", fileId: "autogenerated-id", state: "SUCCESS", date: "Apr 29, 2015 8:10:06 AM", metrics: { rTime: 590, wTime: 7322, tTime: 9117, wProcessed: 22511, rProcessed: 22511 } }, { id: "55403d7fe4b0de7376f72bd1", clientId: "testclient", feedId: "ONE_FEED_ID", fileId: "autogenerated-id", state: "FAILURE", date: "Apr 29, 2015 4:10:07 AM", error:[{ "Unexpedted content in prolog" } ] metrics: { rTime: 571, wTime: 7037, tTime: 8723, wProcessed: 21867, rProcessed: 21867 } } ]
Related articles
-
-
Reimport a job (Empathy Knowledge Base)
-
-
Common API queries (Empathy Knowledge Base)