Events API
Get Average Session Length
Description: Retrieves average session length based on the specified start and end dates.
Parameters:
period
: The start and end dates
Header
x-api-key
: Your API Key (Dashboard->Settings)
Returns:
AverageSessionLengthResponse
: The transformed average session length data.
Raises:
HTTPException
: If an error occurs during the retrieval process.
OPTIONS
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
Average session length data