This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Searches Wix documentation and returns results as a single markdown string ready to be passed directly to an LLM.
Method results are interleaved 2-by-2 with article results so both types always appear (pass ranking RELEVANCE for pure score order). Pass document_types to search several documentation types as one combined ranking. Result content is truncated per the lines_in_each_result budget (defaults to 20) with a contextual hint (method results get a schema read hint; article results get a "read the full article" hint). Results are separated by a line of equal signs.
This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.