Data
For instructions on how to authenticate to use this endpoint, see API overview.
Endpoints
POST | |
PATCH | |
POST | |
GET | |
POST | |
GET | |
POST | |
POST | |
GET | |
GET | |
POST | |
GET | |
PATCH | |
DELETE | |
GET | |
POST | |
GET | |
PATCH |
Create external data sources reload
Create, Read, Update and Delete External data Sources.
Required API key scopes
external_data_source:writePath parameters
- idstring
Request parameters
- client_secretstring
- account_idstring
- prefixstring
- descriptionstring
- job_inputs
Example request
POST /api /projects /:project_id /external_data_sources /:id /reloadExample response
Status 200 No response body
Update external data sources revenue analytics config
Update the revenue analytics configuration and return the full external data source.
Required API key scopes
external_data_source:writePath parameters
- idstring
Request parameters
- client_secretstring
- account_idstring
- prefixstring
- descriptionstring
- job_inputs
Example request
PATCH /api /projects /:project_id /external_data_sources /:id /revenue_analytics_configExample response
Status 200 No response body
Create external data sources update webhook inputs
Create, Read, Update and Delete External data Sources.
Required API key scopes
external_data_source:writePath parameters
- idstring
Request parameters
- client_secretstring
- account_idstring
- prefixstring
- descriptionstring
- job_inputs
Example request
POST /api /projects /:project_id /external_data_sources /:id /update_webhook_inputsExample response
Status 200 No response body
Retrieve external data sources webhook info
Create, Read, Update and Delete External data Sources.
Required API key scopes
external_data_source:readPath parameters
- idstring
Example request
GET /api /projects /:project_id /external_data_sources /:id /webhook_infoExample response
Status 200 No response body
Create external data sources check cdc prerequisites
Validate CDC prerequisites against a live Postgres connection.
Used by the source wizard to surface ✅/❌ checks before source creation, and by the self-managed setup popup to verify user-created publications.
Required API key scopes
external_data_source:writeExample request
POST /api /projects /:project_id /external_data_sources /check_cdc_prerequisitesExample response
Status 200 Whether the Postgres database satisfies CDC prerequisites.
Status 400 Invalid config, disallowed host, or connection failure.
List all external data sources connections
Create, Read, Update and Delete External data Sources.
Required API key scopes
external_data_source:readQuery parameters
- limitinteger
- offsetinteger
- searchstring
Response
Example request
GET /api /projects /:project_id /external_data_sources /connectionsExample response
Status 200
Create external data sources database schema
Create, Read, Update and Delete External data Sources.
Required API key scopes
external_data_source:writeRequest parameters
- source_type
Example request
POST /api /projects /:project_id /external_data_sources /database_schemaExample response
Status 200 No response body
Create external data sources source prefix
Create, Read, Update and Delete External data Sources.
Required API key scopes
external_data_source:writeRequest parameters
- client_secretstring
- account_idstring
- prefixstring
- descriptionstring
- job_inputs
Example request
POST /api /projects /:project_id /external_data_sources /source_prefixExample response
Status 200 No response body
Retrieve external data sources wizard
Create, Read, Update and Delete External data Sources.
Required API key scopes
external_data_source:readExample request
GET /api /projects /:project_id /external_data_sources /wizardExample response
Status 200 No response body
List all insight variables
Required API key scopes
insight_variable:readQuery parameters
- pageinteger
Response
Example request
GET /api /projects /:project_id /insight_variablesExample response
Status 200
Create insight variables
Required API key scopes
insight_variable:writeRequest parameters
- namestring
- type
- default_value
- values
Response
Example request
POST /api /projects /:project_id /insight_variablesExample response
Status 201
Retrieve insight variables
Required API key scopes
insight_variable:readPath parameters
- idstring
Response
Example request
GET /api /projects /:project_id /insight_variables /:idExample response
Status 200
Update insight variables
Required API key scopes
insight_variable:writePath parameters
- idstring
Request parameters
- namestring
- type
- default_value
- values
Response
Example request
PATCH /api /projects /:project_id /insight_variables /:idExample response
Status 200
Delete insight variables
Required API key scopes
insight_variable:writePath parameters
- idstring
Example request
DELETE /api /projects /:project_id /insight_variables /:idExample response
Status 204 No response body
List all warehouse saved queries
Create, Read, Update and Delete Warehouse Tables.
Required API key scopes
warehouse_view:readQuery parameters
- pageinteger
- searchstring
Response
Example request
GET /api /projects /:project_id /warehouse_saved_queriesExample response
Status 200
Create warehouse saved queries
Create, Read, Update and Delete Warehouse Tables.
Required API key scopes
warehouse_view:writeRequest parameters
- deletedboolean
- namestring
- query
- folder_idstring
- edited_history_idstring
- soft_updateboolean
- dag_idstring
- is_testboolean
Response
Example request
POST /api /projects /:project_id /warehouse_saved_queriesExample response
Status 201
Retrieve warehouse saved queries
Create, Read, Update and Delete Warehouse Tables.
Required API key scopes
warehouse_view:readPath parameters
- idstring
Response
Example request
GET /api /projects /:project_id /warehouse_saved_queries /:idExample response
Status 200
Update warehouse saved queries
Create, Read, Update and Delete Warehouse Tables.
Required API key scopes
warehouse_view:writePath parameters
- idstring
Request parameters
- deletedboolean
- namestring
- query
- folder_idstring
- edited_history_idstring
- soft_updateboolean
- dag_idstring
- is_testboolean
Response
Example request
PATCH /api /projects /:project_id /warehouse_saved_queries /:id