Property definitions
For instructions on how to authenticate to use this endpoint, see API overview.
Endpoints
GET | |
GET | |
PATCH | |
DELETE | |
GET |
List all property definitions
Required API key scopes
property_definition:readPath parameters
- project_idstring
Query parameters
- event_namesstring
- exclude_core_propertiesbooleanDefault:
false - exclude_hiddenbooleanDefault:
false - excluded_propertiesstring
- filter_by_event_namesboolean
- group_type_indexinteger
- is_feature_flagboolean
- is_numericalboolean
- limitinteger
- offsetinteger
- propertiesstring
- searchstring
- typestringDefault:
eventOne of:"event""person""group""session"
Response
Example request
GET /api /projects /:project_id /property_definitionsExample response
Status 200
RESPONSE
Retrieve property definitions
Required API key scopes
property_definition:readPath parameters
- idstring
- project_idstring
Response
Example request
GET /api /projects /:project_id /property_definitions /:idExample response
Status 200
RESPONSE
Update property definitions
Required API key scopes
property_definition:writePath parameters
- idstring
- project_idstring
Request parameters
- namestring
- is_numericalboolean
- property_type
- tagsarray
Response
Example request
PATCH /api /projects /:project_id /property_definitions /:idExample response
Status 200
RESPONSE
Delete property definitions
Required API key scopes
property_definition:writePath parameters
- idstring
- project_idstring
Example request
DELETE /api /projects /:project_id /property_definitions /:idExample response
Status 204 No response body
Retrieve property definitions seen together
Allows a caller to provide a list of event names and a single property name Returns a map of the event names to a boolean representing whether that property has ever been seen with that event_name
Required API key scopes
property_definition:readPath parameters
- project_idstring
Example request
GET /api /projects /:project_id /property_definitions /seen_together