In our company we have developed around 100+ dashboards where each dashboard has one or more visuals/graphs. I want to create an alert system using looker api (4.0) so that whenever dashboard or a visual of dashboard is broken (either due to lookml problem, table not found or anything else) there is an alert. Currently my solution is working only for the dashboards that have single visual/graph. I am using create_dashboard_render_task function to fetch the render_task.id which I put as an input to render_task function. The json response tells if the dashboard is broken or not. This is the portion of response I get.
{ "status_detail": "query failed: View Not Found", "result_format": "png", "width": 1200, "status": "failure", }
Now I want to have the same thing, but for the dashboards which have multiple visuals. I want to check each visual. i.e. if any visual of dashboard is broken I want a status like something given above. Could someone let me know which looker api methods/functions shall i use to achieve this goal.