Agent Details

API Explorer: /private-locations/{harborId}/servers/{shipId)

To return the details of an agent, a harborId and a shipId is required. The sample code returns the details of the agent with a harborId of 5db9c5640634d626d0665efc and a shipId of 5db9c5640634d626d0665efc. Use the actual ID values for the private location and agent to return the details of the agent.

If you do not know the harborId of the private location, use List Private Locations to return a list of your private locations. If you do not know the shipId of the agent, use List Agents to return a list of your private locations.

Agent Details

curl 'https://a.blazemeter.com/api/v4/private-locations/5db9c5640634d626d0665efc/servers/5db9c5640634d626d0665efc' \
    --user 'api_key_id:api_key_secret'

Agent Details Response Attributes

To see a breakdown of the attributes, refer to The Agent Object section.

Response200 OK

{
    "api_version": 4,
    "error": null,
    "result": {
        "id": "5da78c8240055536a5297345",
        "name": "New Centos Agent",
        "address": "10.128.0.101",
        "publicIpAddress": "35.223.16.91",
        "state": "detached",
        "lastHeartBeat": 1572275227,
        "lastCommandOutput": "",
        "isLocked": false,
        "installedVersion": "3.1.15-1514",
        "hostInfo": {
            "diskSpace": {
                "/tmp": {
                    "present": true,
                    "freeSpace": 88910917632
                },
                "/var/lib/docker": {
                    "present": false
                },
                "/home/blazemeter": {
                    "present": true,
                    "freeSpace": 88910917632
                }
            },
            "containerManager": {
                "type": "DockerManager",
                "usingDockerRegistry": false,
                "info": {
                    "operatingSystem": "CentOS Linux 7 (Core)",
                    "operatingSystemType": "linux",
                    "memory": 7672881152,
                    "cpus": 2,
                    "dockerRootDir": "/var/lib/docker",
                    "dockerVersion": "19.03.4",
                    "images": [
                        {
                            "Containers": -1,
                            "Created": 1571261948,
                            "Id": "sha256:a86d5359539a74870ef1e1d27014522c583dba3f7fb36d08f4ebe3c03400a5dd",
                            "Labels": null,
                            "ParentId": "",
                            "RepoDigests": null,
                            "RepoTags": [
                                "blazemeter:1.4.1-92",
                                "blazemeter:latest"
                            ],
                            "SharedSize": -1,
                            "Size": 5579810429,
                            "VirtualSize": 5579810429
                        },
                        {
                            "Containers": -1,
                            "Created": 1571261816,
                            "Id": "sha256:2d84898fc32397cb934eec3b1de9fe5ddb06a3ed58de18435850259b31272589",
                            "Labels": null,
                            "ParentId": "",
                            "RepoDigests": null,
                            "RepoTags": [
                                "blazemeter/proxy-recorder:1.10.1-850",
                                "blazemeter/proxy-recorder:latest"
                            ],
                            "SharedSize": -1,
                            "Size": 599224295,
                            "VirtualSize": 599224295
                        },
                        {
                            "Containers": -1,
                            "Created": 1571261802,
                            "Id": "sha256:f78b261dc02cbedebeaa0be0a61e8c39170dd7d3c19c19139859f8cc3f9bbbdc",
                            "Labels": null,
                            "ParentId": "",
                            "RepoDigests": null,
                            "RepoTags": [
                                "blazemeter/service-mock:0.2.4-11",
                                "blazemeter/service-mock:latest"
                            ],
                            "SharedSize": -1,
                            "Size": 164849267,
                            "VirtualSize": 164849267
                        },
                        {
                            "Containers": -1,
                            "Created": 1571261797,
                            "Id": "sha256:65059e5c63d8d77571d6ef02f89b1d54d439cef040851da349d5e6aca68ba01d",
                            "Labels": null,
                            "ParentId": "",
                            "RepoDigests": null,
                            "RepoTags": [
                                "chrome_69.0.3497.92:latest",
                                "chrome_69.0.3497.92_charmander_1.1.7.231:chrome_69.0.3497.92_charmander_1.1.7.231",
                                "chrome_69.0.3497.92_charmander_1.1.7.231:latest"
                            ],
                            "SharedSize": -1,
                            "Size": 1410761196,
                            "VirtualSize": 1410761196
                        },
                        {
                            "Containers": -1,
                            "Created": 1571261761,
                            "Id": "sha256:d0de7e20f9ebad580979ec296edc90b5a79374b6007b7cc3375128fbca198ac5",
                            "Labels": null,
                            "ParentId": "",
                            "RepoDigests": null,
                            "RepoTags": [
                                "apm-image:1.3.0-826",
                                "apm-image:latest"
                            ],
                            "SharedSize": -1,
                            "Size": 349033017,
                            "VirtualSize": 349033017
                        },
                        {
                            "Containers": -1,
                            "Created": 1571261737,
                            "Id": "sha256:84a22bc8c2dcc63c31c4c60b526ddd87a44f3beb79b4c9d3358c2c07751a84ae",
                            "Labels": null,
                            "ParentId": "",
                            "RepoDigests": null,
                            "RepoTags": [
                                "taurus-cloud:1.17.4-1049",
                                "taurus-cloud:latest"
                            ],
                            "SharedSize": -1,
                            "Size": 5115062238,
                            "VirtualSize": 5115062238
                        },
                        {
                            "Containers": -1,
                            "Created": 1571261635,
                            "Id": "sha256:220e832427b069a1011e2f73370725c7f755a51a0b1149691af03d30fb4a0967",
                            "Labels": null,
                            "ParentId": "",
                            "RepoDigests": null,
                            "RepoTags": [
                                "blazemeter/crane:3.1.15-1514",
                                "blazemeter/crane:latest"
                            ],
                            "SharedSize": -1,
                            "Size": 136891718,
                            "VirtualSize": 136891718
                        },
                        {
                            "Containers": -1,
                            "Created": 1571261626,
                            "Id": "sha256:65debd84b2d95ddc61e57080484c2c4eb8b80b22d629e8c6e146ade588cdf0f3",
                            "Labels": null,
                            "ParentId": "",
                            "RepoDigests": null,
                            "RepoTags": [
                                "firefox_65.0.2:latest",
                                "firefox_65.0.2_charmander_1.1.7.231:firefox_65.0.2_charmander_1.1.7.231",
                                "firefox_65.0.2_charmander_1.1.7.231:latest"
                            ],
                            "SharedSize": -1,
                            "Size": 1393006212,
                            "VirtualSize": 1393006212
                        }
                    ]
                }
            }
        },
        "isAutoUpdate": true,
        "hasJetlag": true,
        "hasJetpack": true,
        "useMasterFiles": true,
        "uptime": 1013843,
        "baseUrl": "https://a.blazemeter.com",
        "hasProxy": false,
        "verifySSL": true,
        "created": 1571261570,
        "updated": 1593180006,
        "updaterStatus": {
            "status": "success",
            "lastUpdateCheck": 1572273500,
            "nextUpdateCheck": 1572277100
        },
        "ts": 1572275227
    },
    "request_id": "5ef5fff2b6387"
}