Skip to main content
POST
cURL
Submit a SQL query to Isofold. The query will be analyzed, rewritten, and executed against the configured data warehouse. This is the primary entrypoint for using Isofold programmatically.

Request

Send a JSON payload like the following:

Fields


Response

Fields


Authorization

All requests must include a Bearer token:

Next: Estimate Cost

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

The SQL query to run

query
string
required
warehouse
enum<string>
required
Available options:
bigquery,
snowflake,
aurora

Response

200 - application/json

Query completed successfully

trace_id
string
rewritten_query
string
duration_ms
number
rows
integer