Execute SQL

Using this endpoint, you can execute any kind of SQL statement. If the validate flag is specified, the request will be validated against provided authorization inputs and referenced resource configuration. If validation fails for any reason, a 422 Unprocessable Entity will be returned with details about the original request and specifics on missing inputs. If the useEncryption flag is specified, data in DML statements will automatically be encrypted on the way in and results of queries will automatically be decrypted on the way out. Unlike the Proxy SQL API, this API is executed directly against the SxT Network and requires explicit configuration of authentication and authorization tokens.

Log in to see full request history
Body Params
string
required

The raw SQL text to execute

biscuits
array of strings

The (optional) biscuits needed to authorize the request

biscuits
boolean

Determines whether or not the request should be validated prior to execution

boolean

Determines whether or not to use encryption/decryption on the request

Headers
string

The origin application of the request. This header is used to tag requests in the query log

Responses

Language
Credentials
Click Try It! to start a request and see the response here! Or choose an example:
application/json