Since and Until Time Range
Many REST API queries accept the since and until parameters. These parameters allow you to gather metric data within a specific time range. Because, when included, this two parameters are required, by specifying a time range, you are encouraged to consider how much data you want to retrieve. For example, you may not want to retrieve all server requests since the beginning of time.
yyyy-MM-dd'T'HH:mm:ss.SSS'Z'The time represented by until must be later than the time represented by since, and both must be later than the date January 1, 2013. For example:
/api/v1/requests?since=2015-11-25T22:00:00.000Z&until=2015-11-30T10:30:00.000Z
Internally, metric information is stored at precise 1-minute aggregation intervals, therefore your time-stamp parameters should be on 1-minute boundaries. Typically, the time range interval returned will exactly match the time range interval (with 1-minute boundaries) specified in the query parameters.
"timeRange" : { "since" : 1448488800000, "until" : 1448879400000 }
However, when dealing with time series data (the /timeSeries query), the time range interval returned from the REST API may not exactly match the time range specified as input, and may not start at the since value specified. This is a result of aggregation period adjustments and described in the Time Series overview.