Environments-22
For instructions on how to authenticate to use this endpoint, see API overview.
Endpoints
POST | |
GET | |
GET | |
GET | |
GET | |
POST | |
GET | |
DELETE | |
GET | |
POST | |
GET | |
POST |
Create environments persons reset person distinct id
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 /logExample response
Status 200
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 /logExample response
Status 200
Create environments 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 environments 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 environments query draft sql
Path parameters
- project_idstring
Example request
GET /api /environments /:project_id /query /draft_sqlExample response
Status 200 No response body
Retrieve environments query draft sql
Path parameters
- project_idstring
Example request
GET /api /environments /:project_id /query /draft_sqlExample response
Status 200 No response body
Create environments 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 environments 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 /upgrade