Using timefilter: today in the list results result API call
Using timefilter: today in the list results result API call
At a glance
The community member asked if running a script daily at 1am would only return results from 00:00 - 01:00. Another community member explained that the API endpoint is paginated, so the results would not necessarily be limited to that specific time range. They suggested using the timeFilter query parameter to specify a desired time range, such as "today". However, there is no option to filter for the previous 24 hours, so the community members suggested triggering the automation at 11:58pm to capture the full previous day's results.
Not necessarily. The endpoint is paginated, listing results ordered by creation date, newest to oldest, with a maximum of 100 results per page. You can leverage the timeFilter query parameter to specify the desired time range, such as 'today'. Additionally, the limit parameter allows you to control the number of results returned per page, up to a maximum of 100.
If you are looking for results from exactly 00:00 to 01:00, you might need to implement additional filtering on your end after fetching the results, since the API does not provide filtering at that specific level of granularity.