Skip to main content
POST
/
api
/
sql-insights
/
v1
/
details:batch
BatchSqlDetails
curl --request POST \
  --url https://developer.synq.io/api/sql-insights/v1/details:batch \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "paths": [
    "<string>"
  ]
}
'
{
  "sqlDetails": {}
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

BatchSqlDetailsRequest requests SQL details for a set of entities.

paths
string[]

The synq paths of the entities to fetch SQL details for. A synq path uniquely identifies an entity and can be obtained from the synq_paths field of other entity responses.

Response

200 - application/json

Success

BatchSqlDetailsResponse maps each requested synq path to its SQL details.

sqlDetails
object

SQL details keyed by synq path. Paths with no SQL details are omitted.