Hi Dmitry11,
Yes, it possible to generate Availability Summary Report for a monitor by invoking the following API,
https://www.site24x7.com/api/reports/availability_summary/{{monitor_id}}?period={{period_constant}}
More details about the API response and period_constant can be found in our API documentation
https://www.site24x7.com/help/api/#availability-summary-by-monitor
https://www.site24x7.com/help/api/#period_constants
Data for charts can be found in the API response under the node "charts". It's an Array of Objects.
"Availability Percentage Trend" chart shown in UI can be found in the object, where value of attribute "key" is "percentage_chart".
Node "data" in the object specifies reporting time, Availability, Unavailability, Maintenance percentages respectively for the reporting time.
Eg: ["2020-04-23T00:00:00+0900", 98, 2, 0]
"Downtime Report" chart shown in UI can be found in the object, where value of attribute "key" is "down_count_chart".
Node "data" in the object specifies reporting time and count of monitor downtimes for the reporting time.
Eg: ["2020-04-23T00:00:00+0900", 2]
Happpy Monitoring.
Regards,
Vishnu Ranjan.