This feature is only available in the Enterprise version

Data lake

List saved queries

Return saved lake queries for an instance, including each query's schedule when one is set.

GET/data/lake/queries

This endpoint returns saved queries for one instance, newest first (updated_at descending). Each item includes the saved SQL, how Cloud picks the date range, and the schedule when one is set.

Enterprise authentication

Send these requests to https://api.cloud.blnkfinance.com on Blnk Cloud. On a self-hosted Enterprise deployment, send them to ENTERPRISE_PUBLIC_URL.

Pass an Enterprise API key, or an OAuth access token, in the X-blnk-key header. Create the key in Enterprise API keys, or issue a token with Enterprise OAuth.

This credential comes from the Cloud or Enterprise workspace. A Core API key belongs to the Core instance.

X-blnk-keystringrequiredheader

Enterprise API key, or an OAuth access token.

Query parameters

instance_idstringrequiredquery

Unique id of the instance (instance_...). Get it from get instance details. Do not pass deployment_id.

Response

dataarray

Saved queries on this instance, newest first.