Skip to main content

semanticLibraryResourceSearch

Plain-language semantic search over library resources. Requires the semantic-resource-search feature flag. Results are ordered by relevance.

semanticLibraryResourceSearch(
query: String!
first: Int
includeFolders: Boolean = false
): [LibraryResource!]!

Arguments

semanticLibraryResourceSearch.query ● String! non-null scalar

Plain-language search text to match resources against.

semanticLibraryResourceSearch.first ● Int scalar

Maximum number of results to return (defaults to 20, capped at 100).

semanticLibraryResourceSearch.includeFolders ● Boolean scalar

When true, include folders in the results; defaults to excluding them.

Type

LibraryResource object

A reusable resource in the workspace's content library that can be linked into accords; its content is versioned through library_resource_version.