Hello, I assume you are using a custom API call to get the collection of baselines. If you only want the latest one, here is how I would setup that query: Then, in the resulting array with one item, the ID will be in the first index of the data[] array. Hope that helps