Events API
Get Session Length Distribution
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 format
Header
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.
GET
Authorizations
Your API Key (Dashboard->Settings)
Query Parameters
Start date in YYYYMMDD format
End date in YYYYMMDD format
Segments in Amplitude-like format. Example used: [{"prop":"country","op":"is","values":["United States"]}]
Response
200 - application/json
Session length data