Endpoints-2
For instructions on how to authenticate to use this endpoint, see API overview.
Endpoints
GET | |
POST | |
GET | |
GET | |
GET | |
POST | |
GET | |
POST |
Retrieve endpoints logs
Required API key scopes
endpoint:readPath parameters
- namestring
Query parameters
- afterstring
- beforestring
- instance_idstring
- levelstring
- limitintegerDefault:
50 - searchstring
Example request
GET /api /projects /:project_id /endpoints /:name /logsExample response
Status 200 No response body
Create 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
Request parameters
- versioninteger
- bucket_overridesobjectnull
Example request
POST /api /projects /:project_id /endpoints /:name /materialization_previewExample response
Status 200 No response body
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
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
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
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
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_times