โ† API reference
Query / apps

searchSchemaTypes

Semantic search over GraphQL types (objects, inputs, enums)

Arguments

queryString!

Natural-language search phrase; embedded and matched against type names 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 types (objects, inputs, enums)"""
searchSchemaTypes(
  """
  Natural-language search phrase; embedded and matched against type names 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.