Get Tabular Data from SQL Query Result

Beta
GET
/api/v0/query/sql/code/execute

Get the result of an SQL query over given assets.

Query parameters

sql_commandstringRequired

SQL query string

database_asset_idsstring or list of stringsRequired

Single ID or list of asset IDs

Response

This endpoint returns an object.
columnslist of optional strings or integers or doubles
datalist of lists of optional strings or integers or doubles
indexlist of optional strings or integers or doublesOptional