Skip to content

Query interface

The query interface can be interacted with using REST or directly with the Service Gateway using q interprocess communication.


  • getData - Retrieve data from a table in kdb Insights.
  • getMeta - Retrieve query and aggregation metadata for all data in the system.
  • ping - Check the status of a Data Access Process.
  • qsql - Execute a qSQL query on a specific tier of a database.
  • sql - Execute an SQL query across a database.
  • sql2 - Execute an SQL2 query across a database.
  • preview - Efficiently retrieve a small sample of a table