Environments-25
For instructions on how to authenticate to use this endpoint, see API overview.
(Experimental)
Endpoints
GET | |
DELETE | |
GET | |
POST | |
GET | |
POST | |
GET | |
POST | |
GET |
Retrieve environments query
Required API key scopes
query:readPath parameters
- idstring
- project_idstring
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Response
Example request
GET /api /environments /:project_id /query /:idExample response
Status 200
Retrieve environments query
Required API key scopes
query:readPath parameters
- idstring
- project_idstring
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Response
Example request
GET /api /environments /:project_id /query /:idExample response
Status 200
Delete environments query
Required API key scopes
query:readPath parameters
- idstring
- project_idstring
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Example request
DELETE /api /environments /:project_id /query /:idExample response
Status 204 Query cancelled
Delete environments query
Required API key scopes
query:readPath parameters
- idstring
- project_idstring
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
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
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
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
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Example request
GET /api /environments /:project_id /query /:id /logExample response
Status 200
Create environments query check auth for async
Path parameters
- project_idstring
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
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
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
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
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
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
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
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
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
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
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Request parameters
- query
Response
Example request
POST /api /environments /:project_id /query /upgradeExample response
Status 200
List all environments session recording playlists
Override list to include synthetic playlists
Required API key scopes
session_recording_playlist:readPath parameters
- project_idstring
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Query parameters
- created_byinteger
- limitinteger
Number of results to return per page.
- offsetinteger
The initial index from which to return the results.
- short_idstring
Response
Example request
GET /api /environments /:project_id /session_recording_playlistsExample response
Status 200
List all environments session recording playlists
Override list to include synthetic playlists
Required API key scopes
session_recording_playlist:readPath parameters
- project_idstring
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Query parameters
- created_byinteger
- limitinteger
Number of results to return per page.
- offsetinteger
The initial index from which to return the results.
- short_idstring
Response
Example request
GET /api /environments /:project_id /session_recording_playlistsExample response
Status 200
Create environments session recording playlists
Required API key scopes
session_recording_playlist:writePath parameters
- project_idstring
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Request parameters
- namestring
- derived_namestring
- descriptionstring
- pinnedboolean
- deletedboolean
- filters
- _create_in_folderstring
Response
Example request
POST /api /environments /:project_id /session_recording_playlistsExample response
Status 201
Create environments session recording playlists
Required API key scopes
session_recording_playlist:writePath parameters
- project_idstring
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Request parameters
- namestring
- derived_namestring
- descriptionstring
- pinnedboolean
- deletedboolean
- filters
- _create_in_folderstring
Response
Example request
POST /api /environments /:project_id /session_recording_playlistsExample response
Status 201
Retrieve environments session recording playlists
Required API key scopes
session_recording_playlist:readPath parameters
- project_idstring
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
- short_idstring
Response
Example request
GET /api /environments /:project_id /session_recording_playlists /:short_idExample response
Status 200
Retrieve environments session recording playlists
Required API key scopes
session_recording_playlist:readPath parameters
- project_idstring
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
- short_idstring
Response
Example request
GET /api /environments /:project_id /session_recording_playlists /:short_id