Skip to main content
POST
Preview SQL

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json

Request to preview SQL execution.

sql
string
required

SQL query to preview.

limit
integer
default:50

Row limit.

Required range: 1 <= x <= 1000

Response

SQL preview results

Response from SQL preview.

columns
string[]
required

Names of the result columns.

rows
Rows · object[]
required

Preview rows, each a mapping of column name to value.

row_count
integer
required

Number of rows returned in this preview.

truncated
boolean
default:false

Whether NexusOne truncated results.