title: Get Jenkins Metrics data through API
body: <p>What I need with the API call</p>
  
  <p><a href="https://i.stack.imgur.com/jUZEi.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/jUZEi.png" alt="What I need with the API call"></a></p>
  
  <p>I need the timeline info for each of the builds via the API call for Jenkins metrics plugin. I am using a web API to get data for my jobs in my jenkins. However, calling <code>$JenkinsUrl/metrics/APIkey</code> is leading me nowhere. Any idea how can I achieve the information?</p>