Validation

Validate a Flink SQL query

Validates that the given Flink SQL query is valid.

post/v1/validation/sql/flink

Request

  • Base URL
    https://docs.grepr.ai (the document declares no server; this is the origin it was published from)
  • Auth
    • API key in header GREPR-API-KEY
    • or OpenID Connect (https://grepr-prod.us.auth0.com/.well-known/openid-configuration)

Request body

string required

Response

The query is valid.

errorMessagestring

The error message if there is an error

validboolean

Whether a query is valid.

Example response

{
  "parsedQuery": {
    "root": {
      "attribute": "\"service\"",
      "term": "\"grepr-service-1\""
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.