Skip to main content
POST
Translate SQL

Authorizations

Authorization
string
header
required

API token issued from the Splendor console.

Headers

x-splendor-tenant-id
string
required

Selects the tenant (workspace) the request acts within.

Body

application/json
cursor
string | null
Minimum string length: 1
dataset_scope
enum<string>
default:selected
Available options:
selected,
all
datasets
string[]
limit
integer
default:100
Required range: 0 <= x <= 1000
sql
string | null
Minimum string length: 1
view_id
string | null
Minimum string length: 1

Response

Successful Response

dsl
Dsl · object
required
limit_source
enum<string>
required
Available options:
default,
sql
aggregations
string[]
group_by_fields
SqlFieldReference · object[]
is_aggregation
boolean
default:false
selected_fields
SqlFieldReference · object[]
sort_fields
SqlFieldReference · object[]
used_fields
SqlFieldReference · object[]
warnings
string[]