Skip to main content
POST
Validate a service InfraQL query

Authorizations

X-API-Key
string
header
required

Infrawatch API key. Supply the complete key directly as the header value.

Body

application/json
query
string
required

InfraQL to validate against the dataset named by the route.

Required string length: 1 - 8192

Response

Closed validation result. Invalid InfraQL is represented by valid=false and one or more structured errors.

dataset
enum<string>
required
Available options:
hosts,
services,
dns,
whois,
certificates
errors
object[]
required
Maximum array length: 16
query
string
required
Required string length: 1 - 8192
valid
boolean
required