searchSchemaTypes
Topics: Apps
Semantic search over GraphQL types (objects, inputs, enums)
Returns
[SchemaDocSearchResult!]!Arguments
Natural-language search phrase; embedded and matched against type names and descriptions by cosine similarity.
Maximum number of matches to return, best-scoring first. Defaults to 10.
Exact field 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"])Declared on Query. Access is checked by the platform for each operation.