Execute a SQL query
Broker APIs
Query Data
Run SQL queries on StarTree Cloud’s real-time analytics engine.
POST
Execute a SQL query
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
Workspace ID for multi-tenant clusters (e.g., Free Tier). Not required for dedicated clusters.
Example:
"ws_2kc8e2dnzzb0"
Body
application/json
Example:
"SELECT * FROM eth_raw_logs_v2 LIMIT 1"
Response
200 - application/json
Query executed successfully.

