Data_format = json - to filter the last item in the list

Hi,
I’m using the [[inputs.http]] to read data from API in JSON format. I only need to extra the last item in the list to be saved in influxDB.
Is there a way in the JSON Parser Plugin to extract the last item in the list?

For additional context, I’m trying to extract the data as per the link (PowerStore performance metrics with REST API – {{ vExpose }}.Blog) and trying to achieve the same, per article “For example, in Python if we have all the intervals in a list called “volumes”, we can simply use “volumes[-1] ” to access the most recent metrics