Get agent advanced settings

POST https://caas.digicert.com/automationws/v1/agent/advancesettings
Use this endpoint to get advanced settings details for an automation agent, such as the agent’s communication interval (also known as the heartbeat interval) and the debug log level settings.

Example requests and responses

cURL

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

200 OK

{
    "error": null,
    "data": {
        "heartbeatInterval": 30,
        "programLogs": {
            "startNow": false,
            "startAt": 1605891600000,
            "manually": false,
            "stopOn": 1605915000000,
            "timezone": "5:30#chennai",
            "stopTimezone": "5:30#chennai"
        }
    }
}

Request parameters

NameReq/OptTypeDescription
licenseKeyrequiredstringLicense key associated with the agent.
divisionIdrequiredlongDivision ID.
accountIdrequiredstringAccount ID.

Response parameters

NameTypeDescription
errorobjectObject with error details, if any.
Note: Returns null if there are no errors.
dataobjectObject with response data.
.. heartbeatIntervalintegerAgent heartbeat interval (in seconds).
.. programLogsobjectObject with details about the debug log level settings.
.. .. startNowbooleanIf true, the system received a request to immediately change the log level from “error” to “debug”.
.. .. startAtintegerTime when the system is scheduled to automatically enable the debug log level.
Format: epoch in milliseconds.
Example: 1596781119000
.. .. manuallybooleanIf true, a user must manually disable the debug log level.
.. .. stopOnintegerTime when the system is scheduled to automatically disable the debug log level.
Format: epoch in milliseconds.
Example: 1596781119000
.. .. timezonestringTime zone for the agent to start the debug log.
Format: GMT+ your timezone offset
Example: -8#pacifictime
.. .. stopTimezonestringTime zone for the agent to stop the debug log.
Format: GMT+ your timezone offset
Example: -8#pacifictime