Endpoints-2
For instructions on how to authenticate to use this endpoint, see API overview.
Endpoints
POST | |
GET | |
POST | |
GET | |
POST | |
GET | |
PATCH | |
DELETE | |
GET |
Create environments endpoints run
Execute endpoint with optional materialization. Supports version parameter, runs latest version if not set.
Required API key scopes
endpoint:readPath parameters
- environment_idstring
- namestring
Request parameters
- client_query_idstring
- debugbooleanDefault:
false - filters_override
- limitinteger
- offsetinteger
- refreshDefault:
cache - variablesobject
- versioninteger
Example request
POST /api /environments /:environment_id /endpoints /:name /runExample response
Status 200 No response body
Create environments endpoints run
Execute endpoint with optional materialization. Supports version parameter, runs latest version if not set.
Required API key scopes
endpoint:readPath parameters
- environment_idstring
- namestring
Request parameters
- client_query_idstring
- debugbooleanDefault:
false - filters_override
- limitinteger
- offsetinteger
- refreshDefault:
cache - variablesobject
- versioninteger
Example request
POST /api /environments /:environment_id /endpoints /:name /runExample response
Status 200 No response body
Retrieve environments endpoints versions
List all versions for an endpoint.
Required API key scopes
endpoint:readPath parameters
- environment_idstring
- namestring
Example request
GET /api /environments /:environment_id /endpoints /:name /versionsExample response
Status 200 No response body
Retrieve environments endpoints versions
List all versions for an endpoint.
Required API key scopes
endpoint:readPath parameters
- environment_idstring
- namestring
Example request
GET /api /environments /:environment_id /endpoints /:name /versionsExample response
Status 200 No response body
Create environments endpoints last execution times
Get the last execution times in the past 6 months for multiple endpoints.
Path parameters
- environment_idstring
Request parameters
- namesarray
Response
Example request
POST /api /environments /:environment_id /endpoints /last_execution_timesExample response
Status 200
Create environments endpoints last execution times
Get the last execution times in the past 6 months for multiple endpoints.
Path parameters
- environment_idstring
Request parameters
- namesarray
Response
Example request
POST /api /environments /:environment_id /endpoints /last_execution_timesExample response
Status 200
Retrieve endpoints
List all endpoints for the team.
Required API key scopes
endpoint:readPath parameters
- project_idstring
Example request
GET /api /projects /:project_id /endpointsExample response
Status 200 No response body
Retrieve endpoints
List all endpoints for the team.
Required API key scopes
endpoint:readPath parameters
- project_idstring
Example request
GET /api /projects /:project_id /endpointsExample response
Status 200 No response body
Create endpoints
Create a new endpoint
Required API key scopes
endpoint:writePath parameters
- project_idstring
Request parameters
- bucket_overridesobject
- cache_age_secondsnumber
- derived_from_insightstring
- descriptionstring
- is_activeboolean
- is_materializedboolean
- namestring
- query
- sync_frequency
- versioninteger
Example request
POST /api /projects /:project_id /endpointsExample response
Status 201 No response body
Create endpoints
Create a new endpoint
Required API key scopes
endpoint:writePath parameters
- project_idstring
Request parameters
- bucket_overridesobject
- cache_age_secondsnumber
- derived_from_insightstring
- descriptionstring
- is_activeboolean
- is_materializedboolean
- namestring
- query
- sync_frequency
- versioninteger
Example request
POST /api /projects /:project_id /endpointsExample response
Status 201 No response body
Retrieve endpoints retrieve
Retrieve an endpoint, or a specific endpoint version.
Required API key scopes
endpoint:readPath parameters
- namestring
- project_idstring
Example request
GET /api /projects /:project_id /endpoints /:nameExample response
Status 200 No response body
Retrieve endpoints retrieve
Retrieve an endpoint, or a specific endpoint version.
Required API key scopes
endpoint:readPath parameters
- namestring
- project_idstring
Example request
GET /api /projects /:project_id /endpoints /:nameExample response
Status 200 No response body
Update endpoints
Required API key scopes
endpoint:writePath parameters
- namestring
- project_idstring
Example request
PATCH /api /projects /:project_id /endpoints /:nameExample response
Status 200 No response body
Update endpoints
Required API key scopes
endpoint:writePath parameters
- namestring
- project_idstring
Example request
PATCH /api /projects /:project_id /endpoints /:nameExample response
Status 200 No response body
Delete endpoints
Delete an endpoint and clean up materialized query.
Required API key scopes
endpoint:writePath parameters
- namestring
- project_idstring
Example request
DELETE /api /projects /:project_id /endpoints /:nameExample response
Status 204 No response body
Delete endpoints
Delete an endpoint and clean up materialized query.
Required API key scopes
endpoint:writePath parameters
- namestring
- project_idstring
Example request
DELETE /api /projects /:project_id /endpoints /:nameExample response
Status 204 No response body
Retrieve endpoints materialization preview
Preview the materialization transform for an endpoint. Shows what the query will look like after materialization, including range pair detection and bucket functions.
Required API key scopes
endpoint:readPath parameters
- namestring
- project_idstring
Example request
GET /api /projects /:project_id /endpoints /:name /materialization_previewExample response
Status 200 No response body
Retrieve endpoints materialization preview
Preview the materialization transform for an endpoint. Shows what the query will look like after materialization, including range pair detection and bucket functions.
Required API key scopes
endpoint:readPath parameters
- namestring
- project_idstring
Example request
GET /api /projects /:project_id /endpoints /:name /materialization_preview