Data lake
Get lake schema
List column names and types for each lake table on an instance.
/data/lake/schemaReturn the latest lake schema for each ledger resource on an instance. Use this before you write SQL or filters so you know which table names and columns Cloud will accept.
The response lists only public columns. Internal columns (names that start with _blnk_) are omitted. For table relationships and when to use each column, see Schema.
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-keystring
Enterprise API key, or an OAuth access token.
Query parameters
instance_idstring
Unique id of the instance (instance_...). Get it from get instance details. Do not pass deployment_id.
Response
resourcesarray
One entry per lake table Cloud can query on this instance. Empty when the lake has not published a schema for the instance yet.