Environments-21
For instructions on how to authenticate to use this endpoint, see API overview.
Endpoints
POST | |
GET | |
GET | |
POST | |
GET | |
POST | |
GET | |
POST | |
GET | |
GET | |
GET | |
GET | |
POST | |
GET | |
DELETE | |
GET |
Create environments persons bulk delete
Required API key scopes
person:writePath parameters
- project_idstring
Query parameters
- delete_eventsbooleanDefault:
false - delete_recordingsbooleanDefault:
false - distinct_idsobject
- formatstringOne of:
"csv""json" - idsobject
- keep_personbooleanDefault:
false
Request parameters
- properties
Example request
POST /api /environments /:project_id /persons /bulk_deleteExample response
Status 200 No response body
Retrieve environments persons cohorts
This endpoint is meant for reading and deleting persons. To create or update persons, we recommend using the capture API, the $set and $unset properties, or one of our SDKs.
Required API key scopes
person:readcohort:readPath parameters
- project_idstring
Query parameters
- formatstringOne of:
"csv""json"
Example request
GET /api /environments /:project_id /persons /cohortsExample response
Status 200 No response body
Retrieve environments persons funnel
This endpoint is meant for reading and deleting persons. To create or update persons, we recommend using the capture API, the $set and $unset properties, or one of our SDKs.
Path parameters
- project_idstring
Query parameters
- formatstringOne of:
"csv""json"
Example request
GET /api /environments /:project_id /persons /funnelExample response
Status 200 No response body
Create environments persons funnel
This endpoint is meant for reading and deleting persons. To create or update persons, we recommend using the capture API, the $set and $unset properties, or one of our SDKs.
Path parameters
- project_idstring
Query parameters
- formatstringOne of:
"csv""json"
Request parameters
- properties
Example request
POST /api /environments /:project_id /persons /funnelExample response
Status 200 No response body
Retrieve environments persons funnel correlation
This endpoint is meant for reading and deleting persons. To create or update persons, we recommend using the capture API, the $set and $unset properties, or one of our SDKs.
Path parameters
- project_idstring
Query parameters
- formatstringOne of:
"csv""json"
Example request
GET /api /environments /:project_id /persons /funnel /correlationExample response
Status 200 No response body
Create environments persons funnel correlation
This endpoint is meant for reading and deleting persons. To create or update persons, we recommend using the capture API, the $set and $unset properties, or one of our SDKs.
Path parameters
- project_idstring
Query parameters
- formatstringOne of:
"csv""json"
Request parameters
- properties
Example request
POST /api /environments /:project_id /persons /funnel /correlationExample response
Status 200 No response body
Retrieve environments persons lifecycle
This endpoint is meant for reading and deleting persons. To create or update persons, we recommend using the capture API, the $set and $unset properties, or one of our SDKs.
Path parameters
- project_idstring
Query parameters
- formatstringOne of:
"csv""json"
Example request
GET /api /environments /:project_id /persons /lifecycleExample response
Status 200 No response body
Create environments persons reset person distinct id
Reset a distinct_id for a deleted person. This allows the distinct_id to be used again.
Required API key scopes
person:writePath parameters
- project_idstring
Query parameters
- formatstringOne of:
"csv""json"
Request parameters
- properties
Example request
POST /api /environments /:project_id /persons /reset_person_distinct_idExample response
Status 200 No response body
Retrieve environments persons stickiness
This endpoint is meant for reading and deleting persons. To create or update persons, we recommend using the capture API, the $set and $unset properties, or one of our SDKs.
Path parameters
- project_idstring
Query parameters
- formatstringOne of:
"csv""json"
Example request
GET /api /environments /:project_id /persons /stickinessExample response
Status 200 No response body
Retrieve environments persons trends
This endpoint is meant for reading and deleting persons. To create or update persons, we recommend using the capture API, the $set and $unset properties, or one of our SDKs.
Path parameters
- project_idstring
Query parameters
- formatstringOne of:
"csv""json"
Example request
GET /api /environments /:project_id /persons /trendsExample response
Status 200 No response body
Retrieve environments persons values
This endpoint is meant for reading and deleting persons. To create or update persons, we recommend using the capture API, the $set and $unset properties, or one of our SDKs.
Required API key scopes
person:readPath parameters
- project_idstring
Query parameters
- formatstringOne of:
"csv""json"
Example request
GET /api /environments /:project_id /persons /valuesExample response
Status 200 No response body
List all environments plugin configs logs
Required API key scopes
plugin:readPath parameters
- plugin_config_idstring
- project_idstring
Query parameters
- limitinteger
- offsetinteger
Response
Example request
GET /api /environments /:project_id /plugin_configs /:plugin_config_id /logsExample response
Status 200
List all environments plugin configs logs
Required API key scopes
plugin:readPath parameters
- plugin_config_idstring
- project_idstring
Query parameters
- limitinteger
- offsetinteger
Response
Example request
GET /api /environments /:project_id /plugin_configs /:plugin_config_id /logsExample response
Status 200
Create environments query
Required API key scopes
query:readPath parameters
- project_idstring
Request parameters
- asyncboolean
- client_query_idstring
- filters_override
- namestring
- query
- refreshDefault:
blocking - variables_overrideobject
Response
Example request
POST /api /environments /:project_id /queryExample response
Status 200
Create environments query
Required API key scopes
query:readPath parameters
- project_idstring
Request parameters
- asyncboolean
- client_query_idstring
- filters_override
- namestring
- query
- refreshDefault:
blocking - variables_overrideobject
Response
Example request
POST /api /environments /:project_id /queryExample response
Status 200
Retrieve environments query
(Experimental)
Required API key scopes
query:readPath parameters
- idstring
- project_idstring
Response
Example request
GET /api /environments /:project_id /query /:idExample response
Status 200
Retrieve environments query
(Experimental)
Required API key scopes
query:readPath parameters
- idstring
- project_idstring
Response
Example request
GET /api /environments /:project_id /query /:idExample response
Status 200
Delete environments query
(Experimental)
Required API key scopes
query:readPath parameters
- idstring
- project_idstring
Example request
DELETE /api /environments /:project_id /query /:idExample response
Status 204 Query cancelled
Delete environments query
(Experimental)
Required API key scopes
query:readPath parameters
- idstring
- project_idstring
Example request
DELETE /api /environments /:project_id /query /:idExample response
Status 204 Query cancelled
Retrieve environments query log
Get query log details from query_log_archive table for a specific query_id, the query must have been issued in last 24 hours.
Path parameters
- idstring
- project_idstring
Example request
GET /api /environments /:project_id /query /:id /log