โ† API reference
Query / apps

searchSchemaFields

Semantic search over GraphQL fields on types

Arguments

queryString!

Natural-language search phrase; embedded and matched against field paths (Type.field) and descriptions by cosine similarity.

topKInt

Maximum number of matches to return, best-scoring first. Defaults to 10.

Returns [SchemaDocSearchResult!]!

Scalar fields at a glance

idString!
textString!
scoreFloat!
โ†— View the complete SchemaDocSearchResult type

Explore in a view

App Authoring
View exact SDL
"""Semantic search over GraphQL fields on types"""
searchSchemaFields(
  """
  Natural-language search phrase; embedded and matched against field paths (Type.field) and descriptions by cosine similarity.
  """
  query: String!
  """
  Maximum number of matches to return, best-scoring first. Defaults to 10.
  """
  topK: Int
): [SchemaDocSearchResult!]! @topic(names: ["apps"])

Schema reference describes the API contract. Actual access is checked by the platform for every operation.