Endpoints-2
For instructions on how to authenticate to use this endpoint, see API overview.
Endpoints
PATCH | |
DELETE | |
GET | |
POST | |
GET | |
GET | |
POST |
Update endpoints
Path parameters
- namestring
URL-safe name for the endpoint
- 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
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
URL-safe name for the endpoint
- 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 /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
URL-safe name for the endpoint
- 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 /projects /:project_id /endpoints /:nameExample response
Status 204 No response body
Retrieve endpoints run
Execute endpoint with optional materialization. Supports version parameter, runs latest version if not set.
Required API key scopes
endpoint:readPath parameters
- namestring
URL-safe name for the endpoint
- 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 /projects /:project_id /endpoints /:name /runExample response
Status 200 No response body
Retrieve endpoints run
Execute endpoint with optional materialization. Supports version parameter, runs latest version if not set.
Required API key scopes
endpoint:readPath parameters
- namestring
URL-safe name for the endpoint
- 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 /projects /:project_id /endpoints /:name /runExample response
Status 200 No response body
Create endpoints run
Execute endpoint with optional materialization. Supports version parameter, runs latest version if not set.
Required API key scopes
endpoint:readPath parameters
- namestring
URL-safe name for the endpoint
- 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
- client_query_idstring
Client provided query ID. Can be used to retrieve the status or cancel the query.
- filters_override
- query_overrideobject
- refreshDefault:
blockingWhether results should be calculated sync or async, and how much to rely on the cache:
'blocking'- calculate synchronously (returning only when the query is done), UNLESS there are very fresh results in the cache'async'- kick off background calculation (returning immediately with a query status), UNLESS there are very fresh results in the cache'lazy_async'- kick off background calculation, UNLESS there are somewhat fresh results in the cache'force_blocking'- calculate synchronously, even if fresh results are already cached'force_async'- kick off background calculation, even if fresh results are already cached'force_cache'- return cached data or a cache miss; always completes immediately as it never calculates Background calculation can be tracked using thequery_statusresponse field.
- variables_overrideobject
- variables_valuesobject
Example request
POST /api /projects /:project_id /endpoints /:name /runExample response
Status 200 No response body
Create endpoints run
Execute endpoint with optional materialization. Supports version parameter, runs latest version if not set.
Required API key scopes
endpoint:readPath parameters
- namestring
URL-safe name for the endpoint
- 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
- client_query_idstring
Client provided query ID. Can be used to retrieve the status or cancel the query.
- filters_override
- query_overrideobject
- refreshDefault:
blockingWhether results should be calculated sync or async, and how much to rely on the cache:
'blocking'- calculate synchronously (returning only when the query is done), UNLESS there are very fresh results in the cache'async'- kick off background calculation (returning immediately with a query status), UNLESS there are very fresh results in the cache'lazy_async'- kick off background calculation, UNLESS there are somewhat fresh results in the cache'force_blocking'- calculate synchronously, even if fresh results are already cached'force_async'- kick off background calculation, even if fresh results are already cached'force_cache'- return cached data or a cache miss; always completes immediately as it never calculates Background calculation can be tracked using thequery_statusresponse field.
- variables_overrideobject
- variables_valuesobject
Example request
POST /api /projects /:project_id /endpoints /:name /runExample response
Status 200 No response body
Retrieve endpoints versions
List all versions for an endpoint.
Required API key scopes
endpoint:readPath parameters
- namestring
URL-safe name for the endpoint
- 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 /projects /:project_id /endpoints /:name /versionsExample response
Status 200 No response body
Retrieve endpoints versions
List all versions for an endpoint.
Required API key scopes
endpoint:readPath parameters
- namestring
URL-safe name for the endpoint
- 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 /projects /:project_id /endpoints /:name /versionsExample response
Status 200 No response body
Retrieve endpoints versions retrieve
Get details of a specific endpoint version.
Required API key scopes
endpoint:readPath parameters
- namestring
URL-safe name for the endpoint
- 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/.
- version_numberstring
Example request
GET /api /projects /:project_id /endpoints /:name /versions /:version_numberExample response
Status 200 No response body
Retrieve endpoints versions retrieve
Get details of a specific endpoint version.
Required API key scopes
endpoint:readPath parameters
- namestring
URL-safe name for the endpoint
- 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/.
- version_numberstring
Example request
GET /api /projects /:project_id /endpoints /:name /versions /:version_numberExample response
Status 200 No response body
Create endpoints last execution times
Get the last execution times in the past 6 months for multiple endpoints.
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
- namesarray
Response
Example request
POST /api /projects /:project_id /endpoints /last_execution_timesExample response
Status 200
Create endpoints last execution times
Get the last execution times in the past 6 months for multiple endpoints.
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
- namesarray
Response
Example request
POST /api /projects /:project_id /endpoints /last_execution_times