Logo

What are you looking for?

How do I set up the bulk metrics export to retrieve only the previous day’s data?

Metrics

How do I set up the bulk metrics export to retrieve only the previous day’s data?

The bulk metrics export has a parameter for retrieving the last 24 hours of use data.

Last updated on 28 Oct, 2025

 To set up your organization’s bulk metrics export to retrieve only the previous day’s data, use the yesterday parameter. 

Using the base URL for your organization’s bulk metrics, add the yesterday parameter after the apps parameter and set it equal to 1.

The URL below represents the parameters in the format that would provide for a reoccuring routine you could program on your server and run daily to capture the prior day’s use data. Since no specific data columns are queried, all data columns are retrieved.

URL format:

Image

Example URL:

Image

When the yesterday parameter is used, it automatically sets the query end_time parameter to the last occurence of 12:00 AM UTC and sets the query start_time parameter to exactly 24 hours earlier. You cannot set the start_time and end_time parameters individually when the yesterday parameter is used.

Did you find this article helpful?