Get all agents

This API fetches all the active agents under an account.

Code

$http.get("https://api.agenty.com/2.0/agents?key={ApiKey}")
            .then(function (response) {
               console.log(response)
            });

Sample output

[{
    "agent_id": "238b2969a1",
    "agent_name": "HTML table scraping",
    "created_at": "2018-01-24 12:29:50Z",
    "last_run_status": "",
    "last_run_at": "",
    "frequency": "",
    "schedule_description": "",
    "next_auto_run_at": ""
},
{
    "agent_id": "78142457cb",
    "agent_name": "Extract prices example",
    "created_at": "2018-03-06 07:17:35Z",
    "last_run_status": "Completed",
    "last_run_at": "2018-03-08 06:02:43Z",
    "frequency": "",
    "schedule_description": "",
    "next_auto_run_at": ""
}]

Query Parameters

Parameter Type Description

limit

(Optional, Default : 20)

integer A number between 1 and 100, the maximum number of results to display per page

offset

(Optional, Default : 0)

integer The number of results to skip, for showing the next page