Get all jobs

This API will fetch all jobs executed under your account

Code

$http.delete("https://api.agenty.com/2.0/jobs?key={ApiKey}")
            .success(function (response) {
               console.log(response)
            }).error(function (response) {
               console.log(response) 
            });

Sample output

{
  "total": 182,
  "limit": 20,
  "offset": 0,
  "returned": 20,
  "result": [
    {
      "job_id": 199,
      "agent_id": "78142457cb",
      "job_status": "Completed",
      "started_at": "2018-03-08 06:02:43Z",
      "job_version": 35,
      "pages_total": 24,
      "pages_processed": 24,
      "pages_successed": 24,
      "pages_failed": 0,
      "completed_at": "2018-03-08 09:33:41Z",
      "is_scheduled": false
    },
    {
      "job_id": 198,
      "agent_id": "2cfe61a219",
      "job_status": "Completed",
      "started_at": "2018-03-08 05:31:26Z",
      "job_version": 147,
      "pages_total": 144,
      "pages_processed": 144,
      "pages_successed": 144,
      "pages_failed": 0,
      "completed_at": "2018-03-08 05:32:07Z",
      "is_scheduled": false
    }
  ]
}