← API reference
CANONICAL TYPE REFERENCE

MagicQueryInfo

A discoverable Magic Query noun and its accepted options.

nounString!

The noun to use in a Magic Query string, e.g. 'jobs' in 'jobs?limit=10'.

SINGLE (needs an identifier, noun#<id>) or COLLECTION (filterable and paginated).

returnTypeString!

The GraphQL type name this noun's query returns, e.g. 'JobState'.

Short, LLM-friendly description of what this noun returns.

parameters[String!]!

Accepted option names for this noun.

View exact SDL
"""A discoverable Magic Query noun and its accepted options."""
type MagicQueryInfo {
  """
  The noun to use in a Magic Query string, e.g. 'jobs' in 'jobs?limit=10'.
  """
  noun: String!
  """
  SINGLE (needs an identifier, `noun#<id>`) or COLLECTION (filterable and paginated).
  """
  kind: MagicQueryKind!
  """The GraphQL type name this noun's query returns, e.g. 'JobState'."""
  returnType: String!
  """Short, LLM-friendly description of what this noun returns."""
  description: String!
  """Accepted option names for this noun."""
  parameters: [String!]!
}

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