Skip to main content
POST
/
api
/
v1
/
projects
/
{projectUuid}
/
sqlRunner
/
preview
cURL
curl --request POST \
  --url http://api/v1/projects/{projectUuid}/sqlRunner/preview \
  --header 'Content-Type: application/json' \
  --data '
{
  "columns": [
    {
      "type": "string",
      "reference": "<string>"
    }
  ],
  "sql": "<string>",
  "name": "<string>"
}
'
{
  "results": {
    "owner": "<string>",
    "files": [
      "<string>"
    ],
    "path": "<string>",
    "repo": "<string>",
    "url": "<string>"
  },
  "status": "ok"
}

Path Parameters

projectUuid
string
required

Body

application/json
columns
object[]
required
sql
string
required
name
string
required

Response

Success

results
object
required
status
enum<string>
required
Available options:
ok