Environments-29
For instructions on how to authenticate to use this endpoint, see API overview.
Create, Read, Update and Delete Warehouse Tables.
Endpoints
GET | |
PATCH | |
DELETE | |
POST | |
POST | |
POST | |
GET | |
GET | |
POST | |
GET | |
PATCH |
Retrieve environments warehouse tables
Required API key scopes
warehouse_table:read
Path parameters
- idstring
A UUID string identifying this data warehouse table.
- 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 /warehouse_tables /:id
Example response
Status 200
Update environments warehouse tables
Required API key scopes
warehouse_table:write
Path parameters
- idstring
A UUID string identifying this data warehouse table.
- 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
- deletedboolean
- namestring
- format
- url_patternstring
- credential
Response
Example request
PATCH
/api /environments /:project_id /warehouse_tables /:id
Example response
Status 200
Update environments warehouse tables
Required API key scopes
warehouse_table:write
Path parameters
- idstring
A UUID string identifying this data warehouse table.
- 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
- deletedboolean
- namestring
- format
- url_patternstring
- credential
Response
Example request
PATCH
/api /environments /:project_id /warehouse_tables /:id
Example response
Status 200
Delete environments warehouse tables
Required API key scopes
warehouse_table:write
Path parameters
- idstring
A UUID string identifying this data warehouse table.
- 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 /warehouse_tables /:id
Example response
Status 204 No response body
Delete environments warehouse tables
Required API key scopes
warehouse_table:write
Path parameters
- idstring
A UUID string identifying this data warehouse table.
- 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 /warehouse_tables /:id
Example response
Status 204 No response body
Create environments warehouse tables refresh schema
Path parameters
- idstring
A UUID string identifying this data warehouse table.
- 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
- deletedboolean
- namestring
- format
- url_patternstring
- credential
Example request
POST
/api /environments /:project_id /warehouse_tables /:id /refresh_schema
Example response
Status 200 No response body
Create environments warehouse tables refresh schema
Path parameters
- idstring
A UUID string identifying this data warehouse table.
- 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
- deletedboolean
- namestring
- format
- url_patternstring
- credential
Example request
POST
/api /environments /:project_id /warehouse_tables /:id /refresh_schema
Example response
Status 200 No response body
Create environments warehouse tables update schema
Path parameters
- idstring
A UUID string identifying this data warehouse table.
- 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
- deletedboolean
- namestring
- format
- url_patternstring
- credential
Example request
POST
/api /environments /:project_id /warehouse_tables /:id /update_schema
Example response
Status 200 No response body
Create environments warehouse tables update schema
Path parameters
- idstring
A UUID string identifying this data warehouse table.
- 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
- deletedboolean
- namestring
- format
- url_patternstring
- credential
Example request
POST
/api /environments /:project_id /warehouse_tables /:id /update_schema
Example response
Status 200 No response body
Create environments warehouse tables file
Required API key scopes
warehouse_table:write
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
Example response
Status 200 No response body
Create environments warehouse tables file
Required API key scopes
warehouse_table:write
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
Example response
Status 200 No response body
Retrieve environments web vitals
Required API key scopes
query:read
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/.
Query parameters
- pathnamestring
Filter web vitals by pathname
Example request
GET
/api /environments /:project_id /web_vitals
Example response
Status 200 No response body
Retrieve environments web vitals
Required API key scopes
query:read
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/.
Query parameters
- pathnamestring
Filter web vitals by pathname
Example request
GET
/api /environments /:project_id /web_vitals
Example response
Status 200 No response body
List all environments
Projects for the current organization.
Required API key scopes
project:read
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/.
Query parameters
- limitinteger
Number of results to return per page.
- offsetinteger
The initial index from which to return the results.
Response
Example request
GET
/api /projects /:project_id /environments
Example response
Status 200
Create environments
Projects for the current organization.
Required API key scopes
project:write
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
- namestring
- access_controlboolean
- app_urlsarray
- slack_incoming_webhookstring
- anonymize_ipsboolean
- completed_snippet_onboardingboolean
- test_account_filters
- test_account_filters_default_checkedboolean
- path_cleaning_filters
- is_demoboolean
- timezone
- data_attributes
- person_display_name_propertiesarray
- correlation_config
- autocapture_opt_outboolean
- autocapture_exceptions_opt_inboolean
- autocapture_web_vitals_opt_inboolean
- autocapture_web_vitals_allowed_metrics
- autocapture_exceptions_errors_to_ignore
- capture_console_log_opt_inboolean
- capture_performance_opt_inboolean
- session_recording_opt_inboolean
- session_recording_sample_ratestring
- session_recording_minimum_duration_millisecondsinteger
- session_recording_linked_flag
- session_recording_network_payload_capture_config
- session_recording_masking_config
- session_recording_url_trigger_configarray
- session_recording_url_blocklist_configarray
- session_recording_event_trigger_configarray
- session_recording_trigger_match_type_configstring
- session_recording_retention_period
- session_replay_config
- survey_config
- week_start_day
- primary_dashboardinteger
- live_events_columnsarray
- recording_domainsarray
- cookieless_server_hash_mode
- human_friendly_comparison_periodsboolean
- inject_web_appsboolean
- extra_settings
- modifiers
- has_completed_onboarding_for
- surveys_opt_inboolean
- heatmaps_opt_inboolean
- flags_persistence_defaultboolean
- feature_flag_confirmation_enabledboolean
- feature_flag_confirmation_messagestring
- capture_dead_clicksboolean
- default_data_themeinteger
- revenue_analytics_config
- marketing_analytics_config
- onboarding_tasks
- base_currencyDefault:
USD
- web_analytics_pre_aggregated_tables_enabledboolean
- experiment_recalculation_timestring
Time of day (UTC) when experiment metrics should be recalculated. If not set, uses the default recalculation time.
Response
Example request
POST
/api /projects /:project_id /environments
Example response
Status 201
Retrieve environments
Projects for the current organization.
Required API key scopes
project:read
Path parameters
- idinteger
A unique integer value identifying this environment (aka team).
- 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 /projects /:project_id /environments /:id
Example response
Status 200
Update environments
Projects for the current organization.
Required API key scopes
project:read
Path parameters
- idinteger
A unique integer value identifying this environment (aka team).
- 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
- access_controlboolean
- app_urlsarray
- slack_incoming_webhookstring
- anonymize_ipsboolean
- completed_snippet_onboardingboolean
- test_account_filters
- test_account_filters_default_checkedboolean
- path_cleaning_filters
- is_demoboolean
- timezone
- data_attributes
- person_display_name_propertiesarray
- correlation_config
- autocapture_opt_outboolean
- autocapture_exceptions_opt_inboolean
- autocapture_web_vitals_opt_inboolean
- autocapture_web_vitals_allowed_metrics
- autocapture_exceptions_errors_to_ignore
- capture_console_log_opt_inboolean
- capture_performance_opt_inboolean
- session_recording_opt_inboolean
- session_recording_sample_ratestring
- session_recording_minimum_duration_millisecondsinteger
- session_recording_linked_flag
- session_recording_network_payload_capture_config
- session_recording_masking_config
- session_recording_url_trigger_configarray
- session_recording_url_blocklist_configarray
- session_recording_event_trigger_configarray
- session_recording_trigger_match_type_configstring
- session_recording_retention_period
- session_replay_config
- survey_config
- week_start_day
- primary_dashboardinteger
- live_events_columnsarray
- recording_domainsarray
- cookieless_server_hash_mode
- human_friendly_comparison_periodsboolean
- inject_web_appsboolean
- extra_settings
- modifiers
- has_completed_onboarding_for
- surveys_opt_inboolean
- heatmaps_opt_inboolean
- flags_persistence_defaultboolean
- feature_flag_confirmation_enabledboolean
- feature_flag_confirmation_messagestring
- capture_dead_clicksboolean
- default_data_themeinteger
- revenue_analytics_config
- marketing_analytics_config
- onboarding_tasks
- base_currencyDefault:
USD
- web_analytics_pre_aggregated_tables_enabledboolean
- experiment_recalculation_timestring
Time of day (UTC) when experiment metrics should be recalculated. If not set, uses the default recalculation time.
Response
Example request
PATCH
/api /projects /:project_id /environments /:id