Core-12
For instructions on how to authenticate to use this endpoint, see API overview.
Endpoints
POST | |
GET | |
POST | |
DELETE | |
POST | |
GET | |
POST | |
GET | |
PATCH | |
DELETE | |
POST | |
GET | |
GET | |
PATCH | |
DELETE | |
POST | |
GET | |
GET |
Create insights sharing refresh
Required API key scopes
sharing_configuration:writePath parameters
- insight_idinteger
Request parameters
- enabledboolean
- settings
- password_requiredboolean
Response
Example request
POST /api /projects /:project_id /insights /:insight_id /sharing /refreshExample response
Status 200
List all notebooks sharing
Required API key scopes
sharing_configuration:readPath parameters
- notebook_idstring
Example request
GET /api /projects /:project_id /notebooks /:notebook_id /sharingExample response
Status 200
Create notebooks sharing passwords
Create a new password for the sharing configuration.
Required API key scopes
sharing_configuration:writePath parameters
- notebook_idstring
Request parameters
- enabledboolean
- settings
- password_requiredboolean
Response
Example request
POST /api /projects /:project_id /notebooks /:notebook_id /sharing /passwordsExample response
Status 200
Delete notebooks sharing passwords
Delete a password from the sharing configuration.
Required API key scopes
sharing_configuration:writePath parameters
- notebook_idstring
- password_idstring
Example request
DELETE /api /projects /:project_id /notebooks /:notebook_id /sharing /passwords /:password_idExample response
Status 204 No response body
Create notebooks sharing refresh
Required API key scopes
sharing_configuration:writePath parameters
- notebook_idstring
Request parameters
- enabledboolean
- settings
- password_requiredboolean
Response
Example request
POST /api /projects /:project_id /notebooks /:notebook_id /sharing /refreshExample response
Status 200
List all project secret api keys
Required API key scopes
project:readQuery parameters
- limitinteger
- offsetinteger
Response
Example request
GET /api /projects /:project_id /project_secret_api_keysExample response
Status 200
Create project secret api keys
Required API key scopes
project:writeRequest parameters
- labelstring
- scopesarray
Response
Example request
POST /api /projects /:project_id /project_secret_api_keysExample response
Status 201
Retrieve project secret api keys
Required API key scopes
project:readPath parameters
- idstring
Response
Example request
GET /api /projects /:project_id /project_secret_api_keys /:idExample response
Status 200
Update project secret api keys
Required API key scopes
project:writePath parameters
- idstring
Request parameters
- labelstring
- scopesarray
Response
Example request
PATCH /api /projects /:project_id /project_secret_api_keys /:idExample response
Status 200
Delete project secret api keys
Required API key scopes
project:writePath parameters
- idstring
Example request
DELETE /api /projects /:project_id /project_secret_api_keys /:idExample response
Status 204 No response body
Create project secret api keys roll
Roll a project secret API key
Path parameters
- idstring
Response
Example request
POST /api /projects /:project_id /project_secret_api_keys /:id /rollExample response
Status 200
List all property definitions
Required API key scopes
property_definition:readQuery parameters
- event_namesstring
- exclude_core_propertiesbooleanDefault:
false - exclude_hiddenbooleanDefault:
false - exclude_restrictedbooleanDefault:
false - excluded_propertiesstring
- filter_by_event_namesbooleannull
- group_type_indexinteger
- is_feature_flagbooleannull
- is_numericalbooleannull
- limitinteger
- offsetinteger
- propertiesstring
- searchstring
- typestringDefault:
eventOne of:"event""person""group""session" - verifiedbooleannull
Response
Example request
GET /api /projects /:project_id /property_definitionsExample response
Status 200
Retrieve property definitions
Required API key scopes
property_definition:readPath parameters
- idstring
Response
Example request
GET /api /projects /:project_id /property_definitions /:idExample response
Status 200
Update property definitions
Required API key scopes
property_definition:writePath parameters
- idstring
Request parameters
- descriptionstringnull
- tagsarray
- property_type
- verifiedboolean
- hiddenbooleannull
Response
Example request
PATCH /api /projects /:project_id /property_definitions /:idExample response
Status 200
Delete property definitions
Required API key scopes
property_definition:writePath parameters
- idstring
Example request
DELETE /api /projects /:project_id /property_definitions /:idExample response
Status 204 No response body
Create property definitions bulk update tags
Bulk update tags on multiple objects.
PAT access: this action has no required_scopes= on the decorator —
inheriting viewsets must add "bulk_update_tags" to their
scope_object_write_actions list to accept personal API keys.
Without that opt-in, APIScopePermission rejects PAT requests with
"This action does not support personal API key access". Done per-viewset
so granting <scope>:write for one resource doesn't leak access to
sibling resources that share this mixin.
Accepts:
- {"ids": [...], "action": "add"|"remove"|"set", "tags": ["tag1", "tag2"]}
Actions:
- "add": Add tags to existing tags on each object
- "remove": Remove specific tags from each object
- "set": Replace all tags on each object with the provided list
Request parameters
- idsarray
- action
- tagsarray
Response
Example request
POST /api /projects /:project_id /property_definitions /bulk_update_tagsExample response
Status 200
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:readExample request
GET /api /projects /:project_id /property_definitions /seen_togetherExample response
Status 200 No response body
List all session recordings sharing
Required API key scopes
sharing_configuration:readPath parameters
- recording_idstring
Example request
GET /api /projects /:project_id /session_recordings /:recording_id /sharing