Get agent details

POST https://caas.digicert.com/automationws/v1/agent/details
Use this endpoint to get details for an automation agent.

Example requests and responses

cURL

curl --location --request POST 'https://caas.digicert.com/automationws/v1/agent/details' \
--header 'X-DC-DEVKEY: {{api_key}}' \
--header 'Content-Type: application/json' \
--data-raw '{
    "accountId": 5153184,
    "agentId": 2054,
    "divisionId":  677793
}'

200 OK

{
    "error": null,
    "data": {
        "agent": {
            "nickname": "SOW-F5-10.100.192.227_7",
            "hostname": "gp2lab-f5.sbolab.blu.digicert.com",
            "sensorLicenseKey": "C49946D00F476E18",
            "sensorName": "3820LatestsensorSOW",
            "sensorVersion": "3.8.20",
            "applicationType": "BIGIP 13.1.1",
            "managementIp": "10.100.192.227",
            "partitions": [
                "/Common",
                "/Zpartition",
                "/APartition",
                "/zpartition2",
                "/partition1"
            ],
            "activationDate": "1603121043109",
            "type": "Agentless",
            "status": "Configured",
            "isSniConfigured": false
        },
        "checkConfigStatus": {
            "status": "Succeeded",
            "lastUpdatedTime": 1604896564065
        },
        "errors": []
    }
}

Request parameters

NameReq/OptTypeDescription
accountIdrequiredstringAccount ID.
agentIdrequiredlongID of the agent.
divisionIdrequiredlongDivision ID.

Response parameters

NameTypeDescription
errorobjectObject with error details, if any.
Note: Returns null if there are no errors.
dataobjectObject with response data.
.. agentobjectObject container for agent details.
.. .. nicknamestringFriendly name  given to the agent.
.. .. hostnamestringName of the host.
.. .. sensorLicenseKeystringLicense key associated with the sensor.
Note: Only returned if agent’s type is Agentless .
.. .. sensorNamestringName of the sensor.
.. .. sensorVersionstringVersion of the sensor.
.. .. applicationTypestringApplication name and version number.
.. .. managementIpstringManagement IP. For more information, see Sensor automation on F5 load balancer.
Note: Only returned if agent’s type is Agentless.
.. .. partitionarrayList of partitions available in the load balancer.
.. .. activationDatestringDate when the agent was activated.
Format: epoch in milliseconds.
.. .. typestringAgent type.
Possible values: Agent, Agentless.
.. .. statusbooleanAgent status.
Possible values: Error, Configured, Not Configured, Suspended, Upgrading, Void.
.. .. isSniConfiguredbooleanWhether the Server Name Indication (SNI) is configured.
Default:
false
.. checkConfigStatusobjectObject with details about the agent’s most recent configuration check.
.. .. statusstringStatus of the last check configuration request.
Possible values: Succeeded, Failed, In progress.
.. .. lastUpdatedTimelongTimestamp for when the configuration was last updated.
Format: epoch in milliseconds.
.. errorsarrayList of objects with information about any errors that occurred while fetching the agent details.
.. .. errorCodestringError code.
.. .. errorMessagestringError message.