GET /agents/{id}
Returns information about the agent by ID.
Address: GET https://instance_name/api/data/v1.3/agents/{id}/
Content-type: application/json
Path parameters
id
integer
Request example
curl –i –X GET
https://test.inspector-cloud.com/api/data/v1.3/agents/19765/
-H ‘Authorization: Token <<your_token>>’
Response example
Response code: 200
{
"id": 19765,
"name": "Alex",
"route": "163968",
"agent_role": null
}
Response definitions
id
integer
Agent ID.
name
string [ 1 .. 255 ] characters
route
string <= 255 characters
Nullable
Agent route.
agent_role
string <= 255 characters