POST
/
api
/
v1
/
query
curl --request POST \
  --url https://api.chakra.dev/api/v1/query \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "sql": "<string>",
  "parameters": [
    "<string>"
  ]
}'
{
  "columns": [
    "<string>"
  ],
  "rows": [
    [
      "<string>"
    ]
  ]
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Response

200 - application/json

Query result

The response is of type object.