Powered by Stoplight
post

/sql/{owner}/{id}

Execute a SQL query against a dataset or data project.

SQL results are available in a variety of formats. By default, application/json will be returned. Set the Accept header to one of the following values in accordance with your preference:

  • text/csv
  • application/json
  • application/json-l
  • application/x-ndjson

New to SQL? Check out data.world’s SQL manual .

Authorization

oauth2 - authorizationCode

Request Parameters

2 Path Parameters

Request Body

Schema
object
query
string

SQL query text

required
includeTableSchema
boolean

Specifies whether or not schema should be included with the response.

1 validation

Responses

OK The request has succeeded.

Send a Test Request

Send requests directly from the browser (CORS must be enabled)
Path Params
2 path params not set
owner
id
$$.env
1 variable not set
oauth_access_token