Report whether a GNQL query would be accepted, without running it.
Validation reads no scanner observations and reports no search
usage. It checks BSI provider names and categories against the current
BSI catalog. It also returns every reason a query was rejected, not just
the first, with a character position for syntax errors so a client can
place a caret on the offending token.
A rejected query is not an error: it is a 200 with valid set to
false. The HTTP status describes whether the query could be checked,
so a caller can distinguish "your query is wrong" from "we could not
tell you". A 4xx or 5xx therefore always means the request itself
was malformed, unauthorized, or could not be serviced.
Validation is gated on the same entitlement as search, and applies
your plan's data reach and field restrictions: a query that is valid
but would be rewritten before execution returns valid: true with
is_query_adjusted: true and the rewritten query in adjusted_query.
