Environments-23
For instructions on how to authenticate to use this endpoint, see API overview.
Endpoints
GET | |
GET | |
GET | |
GET | |
POST | |
GET | |
DELETE | |
GET | |
POST | |
GET | |
POST | |
GET |
Retrieve 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 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 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 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 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 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 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 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 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 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 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 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 /logExample response
Status 200
Retrieve 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 /logExample response
Status 200
Create query check auth for async
Path parameters
- project_idstring
Example request
POST /api /environments /:project_id /query /check_auth_for_asyncExample response
Status 200 No response body
Create query check auth for async
Path parameters
- project_idstring
Example request
POST /api /environments /:project_id /query /check_auth_for_asyncExample response
Status 200 No response body
Retrieve query draft sql
Path parameters
- project_idstring
Example request
GET /api /environments /:project_id /query /draft_sqlExample response
Status 200 No response body
Retrieve query draft sql
Path parameters
- project_idstring
Example request
GET /api /environments /:project_id /query /draft_sqlExample response
Status 200 No response body
Create query upgrade
Upgrades a query without executing it. Returns a query with all nodes migrated to the latest version.
Path parameters
- project_idstring
Request parameters
- query
Response
Example request
POST /api /environments /:project_id /query /upgradeExample response
Status 200
Create query upgrade
Upgrades a query without executing it. Returns a query with all nodes migrated to the latest version.
Path parameters
- project_idstring
Request parameters
- query
Response
Example request
POST /api /environments /:project_id /query /upgradeExample response
Status 200
List all session recording playlists
Override list to include synthetic playlists
Required API key scopes
session_recording_playlist:readPath parameters
- project_idstring
Query parameters
- created_byinteger
- limitinteger
- offsetinteger
- short_idstring
Response
Example request
GET /api /environments /:project_id /session_recording_playlists