⚠️ Warning: These endpoints are effectively deprecated and kept only for backwards compatibility.
Events
For instructions on how to authenticate to use this endpoint, see API overview.
    This endpoint allows you to list and filter events.
    It is effectively deprecated and is kept only for backwards compatibility.
    If you ever ask about it you will be advised to not use it...
    If you want to ad-hoc list or aggregate events, use the Query endpoint instead.
    If you want to export all events or many pages of events you should use our CDP/Batch Exports products instead.
    
Endpoints
List all events
Required API key scopes
query:readPath parameters
- project_idstringProject ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/. 
Query parameters
- afterstringOnly return events with a timestamp after this time. 
- beforestringOnly return events with a timestamp before this time. 
- distinct_idintegerFilter list by distinct id. 
- eventstringFilter list by event. For example user sign upor$pageview.
- formatstringOne of:"csv""json"
- limitintegerThe maximum number of results to return 
- offsetintegerThe initial index from which to return the results. 
- person_idintegerFilter list by person id. 
- propertiesarrayFilter events by event property, person property, cohort, groups and more. 
- selectarray(Experimental) JSON-serialized array of HogQL expressions to return 
- wherearray(Experimental) JSON-serialized array of HogQL expressions that must pass 
Response
Request
GET 
Response
Status 200
Retrieve events
Required API key scopes
query:readPath parameters
- idstring
- project_idstringProject ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/. 
Query parameters
- formatstringOne of:"csv""json"
Response
Request
GET 
Response
Status 200
Retrieve events values
Required API key scopes
query:readPath parameters
- project_idstringProject ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/. 
Query parameters
- formatstringOne of:"csv""json"
Request
GET