Events
For instructions on how to authenticate to use this endpoint, see API overview.
Endpoints
List all events
Path 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
Path 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
Path 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"
Response
Request
GET 
Response
Status 200