POST
/
api
/
v1
/
connectors
/
{id}
/
query_source
curl --request POST \
  --url https://api.squared.ai/api/v1/connectors/{id}/query_source \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "query": "<string>"
}'
[
  {}
]

Authorizations

Authorization
string
headerrequired

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

Path Parameters

id
integer
required

The ID of the connector to query

Body

application/json
query
string

SQL query to be executed

Response

200 - application/json

The response is of type object[].