Description: Retrieves session length distribution based on the specified start and end dates.
Parameters:
period
: The start and end datesfilters
: List of filters in Amplitude-like formatHeader
x-api-key
: Your API Key (Dashboard->Settings)Returns:
SessionLengthResponse
: The transformed session length distribution data.Raises:
HTTPException
: If an error occurs during the retrieval process.Your API Key (Dashboard->Settings)
Start date in YYYYMMDD format
End date in YYYYMMDD format
Segments in Amplitude-like format. Example used: [{"prop":"country","op":"is","values":["United States"]}]
Successful Response
The response is of type object
.