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.
|(Mandatory) It is the current sessionId.
|It is the Id of the collector whose debug command result you want to get. By default its value is set as 1.