You can use LogicMonitor's REST API to programmatically get information about your LogicMonitor reports. You can either get a list of reports or you can get details for a particular report.
As with all of our API calls, authentication is required.
Get a list of Reports
Returns a list of reports
HTTP Method: GET
Request Parameters: By default, a list of 50 reports will be returned. You can include sort, filter, fields, size and offset parameters in your request to control what data is included in the response and how it is formatted. Note that all query parameters should be URL encoded where necessary. Note that query parameters are not considered part of the resource path, and should not be included the calculation of the LMv1 authentication signature.
Get information about a particular report
Returns details for a particular report
The following examples illustrate various GET requests to the reports resource:
- Example Request - GET all Reports
- Example Request - GET certain fields for all Reports
- Example Request - GET one report
- Example Response
Example Request 1: GET all Reports
The following Python script returns a list of all reports in the api.logicmonitor.com portal.
Example Request 2: GET all Reports
The following Python script will return a list of all reports, where only the name, type and format are returned for each result and the results are sorted in descending order according to the name.
Example Request 3: GET one report
The following Python script will return the details for the report with id 1.
The following is an example response for one of the example requests above: