Analytics
Session length distribution
Changed onget/api/2/sessions/length
Request
- Base URLhttps://amplitude.com
- AuthHTTP basic
Query parameters
startstring required
Example:20260801
First date included in the data series, formatted YYYYMMDD.
endstring required
Example:20260831
Last date included in the data series, formatted YYYYMMDD.
timeHistogramConfigBinTimeUnit'seconds' | 'minutes' | 'hours' | 'days'
Bin unit: seconds, minutes, hours, or days.
timeHistogramConfigBinMininteger
timeHistogramConfigBinMaxinteger
timeHistogramConfigBinSizeinteger
Response
Session length buckets.
object required
Changes
- info
added the media type
*/*for the response with the status - info
added the media type
*/*for the response with the status - info
added the media type
*/*for the response with the status
- info