title: Query Stackdriver Uptime Checks
body: <p>I am trying to query for the Stackdriver Uptime Checks using the google monitoring api. I cannot seem to find anything in their documentation that illustrates how to query for the uptime checks that were set up on stackdriver. Here are some of the docs I have been reading through. You will note that some of the query-able metrics include <strong><em>agent.googleapis.com/agent/uptime</em></strong> but this does not return the uptime checks seen on <a href="https://cloud.google.com/monitoring/alerts/uptime-checks" rel="nofollow noreferrer">Stackdriver Uptime Checks</a>. Below I am listing some of the documentation I have been sifting through in case it may be helpful. </p>
  
  <p>Does anyone know how/if this can be done?</p>
  
  <ul>
  <li><a href="https://googlecloudplatform.github.io/google-cloud-python/latest/monitoring/client.html" rel="nofollow noreferrer">Google Python Client Docs</a></li>
  <li><a href="https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.timeSeries/list" rel="nofollow noreferrer">Time Series Query</a></li>
  <li><a href="https://cloud.google.com/monitoring/api/metrics" rel="nofollow noreferrer">Metrics</a></li>
  </ul>