Skip to main content
GET
/
api
/
sql-insights
/
v1
/
constructs
ListSqlConstructs
curl --request GET \
  --url https://developer.synq.io/api/sql-insights/v1/constructs \
  --header 'Authorization: Bearer <token>'
{
  "sqlConstructs": [
    {
      "count": 123
    }
  ]
}

Authorizations

Authorization
string
header
required

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.

sqlConstructs
SqlConstructCount · object[]

One entry per construct that appears at least once in the workspace.