Endpoints-2
For instructions on how to authenticate to use this endpoint, see API overview.
Endpoints
GET | |
GET | |
GET | |
POST | |
GET | |
POST |
Retrieve endpoints materialization status
Get materialization status for an endpoint. Supports ?version=N query param.
Required API key scopes
endpoint:readPath parameters
- namestring
Response
Example request
GET /api /projects /:project_id /endpoints /:name /materialization_statusExample response
Status 200
RESPONSE
Retrieve endpoints openapi spec
Get OpenAPI 3.0 specification for this endpoint. Use this to generate typed SDK clients.
Required API key scopes
endpoint:readPath parameters
- namestring
Query parameters
- versioninteger
Example request
GET /api /projects /:project_id /endpoints /:name /openapi.jsonExample 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
Response
Example request
GET /api /projects /:project_id /endpoints /:name /runExample response
Status 200
RESPONSE
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
Request parameters
- client_query_id
- debugDefault:
false - filters_override
- limit
- offset
- refreshDefault:
cache - variables
- version
Response
Example request
POST /api /projects /:project_id /endpoints /:name /runExample response
Status 200
RESPONSE
List all endpoints versions
List all versions for an endpoint.
Required API key scopes
endpoint:readPath parameters
- namestring
Query parameters
- created_byinteger
- is_activeboolean
- limitinteger
- offsetinteger
Response
Example request
GET /api /projects /:project_id /endpoints /:name /versionsExample response
Status 200
RESPONSE
Create endpoints last execution times
Get the most recent execution time per endpoint (endpoint-level). Timestamps are recorded by the run path for personal-API-key calls. For per-version usage, query the query_log table directly.
Required API key scopes
endpoint:readRequest parameters
- namesarray
Response
Example request
POST /api /projects /:project_id /endpoints /last_execution_timesExample response
Status 200
RESPONSE