Connections
Create SQL source from statement
Creates a Malloy source from a SQL statement using the specified database connection. The SQL statement is executed to generate a source definition that can be used in Malloy models.
POST
/environments/{environmentName}/connections/{connectionName}/sqlSourceAuthorization
bearerAuth AuthorizationBearer <token>
In: header
Path Parameters
environmentName*string
Name of the environment
Match
^[a-zA-Z0-9_-]+$connectionName*string
Name of the connection
Match
^[a-zA-Z0-9_-]+$Request Body
application/json
SQL statement to fetch the SQL source
Response Body
application/json
application/json
application/json
application/json
application/json