Agent

GET /agent/{id}/containers

Get a list of ended containers for an agent, ordered by date. Useful for listing the last available output logs from an agent.

Request

Path parameters

idinteger required

ID of the agent from which to retrieve the containers.

Response

Success

statusstring

Example response

{
  "status": "success",
  "data": [
    {
      "id": 195119,
      "queueDate": 1427810471,
      "launchDate": 1427810471,
      "launchType": "automatic",
      "launchNumber": 476,
      "endDate": 1427812088,
      "lastEndMessage": "Agent finished (error)",
      "lastEndStatus": "error",
      "exitCode": 1
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.