title: How to get application uptime report with New Relic API ?
body: <p>I need to get a weekly report of my applications uptime.</p>
  
  <p>The metric is available on the "SLA Report" screen (<a href="http://awesomescreenshot.com/0f02fsy34e" rel="nofollow">http://awesomescreenshot.com/0f02fsy34e</a>) but i can't find a way to get it programatically.</p>
  
  <p>Other SLA metrics are available using the API : <a href="http://docs.newrelic.com/docs/features/sla-report-examples#metrics" rel="nofollow">http://docs.newrelic.com/docs/features/sla-report-examples#metrics</a></p>