← API reference
CANONICAL TYPE REFERENCE

MagicQuerySchema

Input (JSON Schema) and output (introspection) contract for a Magic Query noun.

nounString!

The noun this describes, e.g. 'jobs'.

SINGLE or COLLECTION.

returnTypeString!

The GraphQL type name the query returns, e.g. 'JobState'.

JSON Schema for the accepted options (limit/after/filters, or id).

GraphQL introspection for the return type.

View exact SDL
"""
Input (JSON Schema) and output (introspection) contract for a Magic Query noun.
"""
type MagicQuerySchema {
  """The noun this describes, e.g. 'jobs'."""
  noun: String!
  """SINGLE or COLLECTION."""
  kind: MagicQueryKind!
  """The GraphQL type name the query returns, e.g. 'JobState'."""
  returnType: String!
  """JSON Schema for the accepted options (limit/after/filters, or id)."""
  inputSchema: JSON!
  """GraphQL introspection for the return type."""
  outputSchema: IntrospectionResultJSON!
}

One stable address across all schema views. Follow a field’s type to explore connections between domains.