SQL endpoints

get
$sql

<base-url>/$sql
Execute SQL in Aidbox
Request
Response
Body Parameters
body
optional
string
JSON: SQL string or jdbc freendly array [SQL, param, param]
200: OK

Example request:

request
POST /$sql?_format=yaml
SELECT count(*) FROM patient
response
- {count: 7}