You can use LogicMonitor REST API v3 to get the result of the collector debug command. You must authenticate yourself before making the API request.

URI: GET /debug/{id}

ParameterTypeDescription
idString(Mandatory) It is the current sessionId.
collectorIdIntegerIt is the Id of the collector whose debug command result you want to get. By default its value is set as 1.