title: TeamCity - REST API - Last successful build
body: <p>I'm trying to get the <strong>latest</strong> successful build.</p>
  
  <p>This request returns <em>all of the successful builds</em> for a specified <code>buildType</code> (as <code>BUILDTYPE</code> below).</p>
  
  <pre><code>/httpAuth/app/rest/builds/?locator=buildType:BUILDTYPE,status:SUCCESS
  </code></pre>
  
  <p>Is there a way to further filter out to get the single latest successful build of the corresponding <code>buildType</code>?</p>
  
  <p><strong>TeamCity Version:</strong> Professional 9.1.3 (build 37176)</p>