Endpoints
For instructions on how to authenticate to use this endpoint, see API overview.
Endpoints
GET | |
POST | |
GET | |
PATCH | |
DELETE | |
GET | |
GET | |
GET | |
GET |
Retrieve environments endpoints
List all endpoints for the team.
Required API key scopes
endpoint:readPath parameters
- environment_idstring
Example request
GET /api /environments /:environment_id /endpointsExample response
Status 200 No response body
Retrieve environments endpoints
List all endpoints for the team.
Required API key scopes
endpoint:readPath parameters
- environment_idstring
Example request
GET /api /environments /:environment_id /endpointsExample response
Status 200 No response body
Create environments endpoints
Create a new endpoint
Required API key scopes
endpoint:writePath parameters
- environment_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 /environments /:environment_id /endpointsExample response
Status 201 No response body
Create environments endpoints
Create a new endpoint
Required API key scopes
endpoint:writePath parameters
- environment_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 /environments /:environment_id /endpointsExample response
Status 201 No response body
Retrieve environments endpoints retrieve
Retrieve an endpoint, or a specific endpoint version.
Required API key scopes
endpoint:readPath parameters
- environment_idstring
- namestring
Example request
GET /api /environments /:environment_id /endpoints /:nameExample response
Status 200 No response body
Retrieve environments endpoints retrieve
Retrieve an endpoint, or a specific endpoint version.
Required API key scopes
endpoint:readPath parameters
- environment_idstring
- namestring
Example request
GET /api /environments /:environment_id /endpoints /:nameExample response
Status 200 No response body
Update environments endpoints
Required API key scopes
endpoint:writePath parameters
- environment_idstring
- namestring
Example request
PATCH /api /environments /:environment_id /endpoints /:nameExample response
Status 200 No response body
Update environments endpoints
Required API key scopes
endpoint:writePath parameters
- environment_idstring
- namestring
Example request
PATCH /api /environments /:environment_id /endpoints /:nameExample response
Status 200 No response body
Delete environments endpoints
Delete an endpoint and clean up materialized query.
Required API key scopes
endpoint:writePath parameters
- environment_idstring
- namestring
Example request
DELETE /api /environments /:environment_id /endpoints /:nameExample response
Status 204 No response body
Delete environments endpoints
Delete an endpoint and clean up materialized query.
Required API key scopes
endpoint:writePath parameters
- environment_idstring
- namestring
Example request
DELETE /api /environments /:environment_id /endpoints /:nameExample response
Status 204 No response body
Retrieve environments 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
- environment_idstring
- namestring
Example request
GET /api /environments /:environment_id /endpoints /:name /materialization_previewExample response
Status 200 No response body
Retrieve environments 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
- environment_idstring
- namestring
Example request
GET /api /environments /:environment_id /endpoints /:name /materialization_previewExample response
Status 200 No response body
Retrieve environments endpoints materialization status
Get materialization status for an endpoint. Supports ?version=N query param.
Path parameters
- environment_idstring
- namestring
Example request
GET /api /environments /:environment_id /endpoints /:name /materialization_statusExample response
Status 200 No response body
Retrieve environments endpoints materialization status
Get materialization status for an endpoint. Supports ?version=N query param.
Path parameters
- environment_idstring
- namestring
Example request
GET /api /environments /:environment_id /endpoints /:name /materialization_statusExample response
Status 200 No response body
Retrieve environments endpoints openapi.json
Get OpenAPI 3.0 specification for this endpoint. Use this to generate typed SDK clients.
Required API key scopes
endpoint:readPath parameters
- environment_idstring
- namestring
Example request
GET /api /environments /:environment_id /endpoints /:name /openapi.jsonExample response
Status 200 No response body
Retrieve environments endpoints openapi.json
Get OpenAPI 3.0 specification for this endpoint. Use this to generate typed SDK clients.
Required API key scopes
endpoint:readPath parameters
- environment_idstring
- namestring
Example request
GET /api /environments /:environment_id /endpoints /:name /openapi.jsonExample response
Status 200 No response body
Retrieve 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
Example request
GET /api /environments /:environment_id /endpoints /:name /runExample response
Status 200 No response body
Retrieve 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
Example request
GET /api /environments /:environment_id /endpoints /:name /run