AI & MLQu Query

describeQuerySchema

Topics: Aiml Reporting

Analyze a MicroSQL query and return the inferred result schema (column names, data types) without executing it. Returns validation errors with typo-correcting suggestions if the query is invalid. Validates only against tables the caller can list.

Returns

QuerySchemaPayload!

Arguments

Query to analyze

Exact field SDL
"""
Analyze a MicroSQL query and return the inferred result schema (column names, data types) without executing it. Returns validation errors with typo-correcting suggestions if the query is invalid. Validates only against tables the caller can list.
"""
describeQuerySchema(
  """Query to analyze"""
  input: DescribeQuerySchemaInput!
): QuerySchemaPayload! @topic(names: ["reporting", "aiml"])

Declared on Query. Access is checked by the platform for each operation.