searchSchemaQueries

Topics: Apps

Semantic search over GraphQL query operations

Returns

[SchemaDocSearchResult!]!

Arguments

query

String!Required

Natural-language search phrase; embedded and matched against the names and descriptions of root Query fields by cosine similarity.

topK

IntOptional

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

Exact field SDL
"""Semantic search over GraphQL query operations"""
searchSchemaQueries(
  """
  Natural-language search phrase; embedded and matched against the names and descriptions of root Query fields by cosine similarity.
  """
  query: String!
  """
  Maximum number of matches to return, best-scoring first. Defaults to 10.
  """
  topK: Int
): [SchemaDocSearchResult!]! @topic(names: ["apps"])

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