ListSqlConstructs
synq.entities.sql_insights.v1.SqlInsightsService
ListSqlConstructs
ListSqlConstructs returns the distribution of SQL constructs across all entities in the workspace, with an occurrence count per construct. The result is workspace-scoped (derived from the authenticated request) — no entity paths are supplied. Useful for building filter/autocomplete UIs and for high-level “shape of our SQL” analytics.
GET
ListSqlConstructs
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Response
200 - application/json
Success
ListSqlConstructsResponse carries the per-construct occurrence counts for the workspace.
One entry per construct that appears at least once in the workspace.