Get agent summary

POST https://caas.digicert.com/automationws/v1/agent/basicdetails
Use this endpoint to get basic information about an automation agent.

Example requests and responses

cURL

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

200 OK

{
    "error": null,
    "data": {
        "licenseKey": "4C78FD86EA557866",
        "agentName": "upgrade109-10110",
        "updatePreference": 0,
        "stateString": "Error",
        "agentVersion": "1.0.11",
        "updateAvailable": false,
        "publishUpgradeOption": false,
        "emailAddresses": "cc.admin@cert-testing.com"
    }
}

Request parameters

NameReq/OptTypeDescription
licenseKeyrequiredstringAgent license key.
accountIdrequiredstringAccount ID.
divisionIdrequiredlongDivision ID.

Response parameters

NameTypeDescription
errorobjectObject with error details, if any.
dataobjectObject with response data.
.. licenseKeystringAgent license key.
.. agentNamestringName of the agent.
.. updatePreferenceintegerAgent upgrade preference.
.. stateStringstringCurrent state of the agent.
Possible values: Error, Configured, Not Configured, Suspended, Upgrading, or Void
.. agentVersionstringAgent version.
.. updateAvailablebooleanReturns true, if an agent upgrade is available. Otherwise, returns false.
.. publishUpgradeOptionbooleanReturns true if updatePreference is 1 (manual upgrade) and there is a sensor upgrade available. Otherwise, returns false.
.. emailAddressesstringComma-separated list of email addresses for the contacts associated with the agent.