Search...
/
Login
Book a Demo
Getting Started
Athena SDK Quickstart
Guides
Online Research
Online Research with Open Source Models
Structured Output
Query and Visualize
Generate Documentation
Load Data Frames
Upload Files
API Reference
Query
GET
Get Tabular Data from SQL Query Result
GET
Get Tabular Data from SQL snippet
Tools
Login
Book a Demo
API Reference
Query
Get Tabular Data from SQL Query Result
Beta
GET
https://
api.athenaintel.com
/
api
/
v0
/
query
/
sql
/
code
/
execute
Get the result of an SQL query over given assets.
Query parameters
sql_command
string
Required
SQL query string
database_asset_ids
string or list of strings
Required
Single ID or list of asset IDs
Show 2 variants
Response
This endpoint returns an object.
columns
list of optional strings or integers or doubles
Show 3 variants
data
list of lists of optional strings or integers or doubles
Show 3 variants
index
list of optional strings or integers or doubles
Optional
Show 3 variants
Built with