Search

Operations of the Search API. Paths are relative to your deployment's API host.

GET /api/search-api/search

Search documents across the project

Authentication: bearer token (Authorization: Bearer <token>)

ParameterInTypeRequiredDescription
docTypesqueryarray of stringnoFilter by document types
expandQueryquerybooleannoExpand query with LLM-generated related terms
facetsquerybooleannoInclude faceted aggregations (docType, tags, phase, date)
fuzzinessquerystringnoFuzziness level
limitquerynumbernoNumber of results
offsetquerynumbernoOffset for pagination
phasequerystringnoFilter by phase
queryquerystringyesSearch query string
searchModequeryone of "text", "semantic", "hybrid"noSearch mode: text (BM25), semantic (kNN), or hybrid (BM25+kNN with RRF)
tagsqueryarray of stringnoFilter by tags
x-caller-serviceheaderstringyes
StatusDescriptionBody
200application/json SearchResultDtoDataEnvelope
400application/problem+json ProblemDetailsDto
401application/problem+json ProblemDetailsDto
403application/problem+json ProblemDetailsDto
404application/problem+json ProblemDetailsDto
409application/problem+json ProblemDetailsDto
422application/problem+json ProblemDetailsDto
500application/problem+json ProblemDetailsDto

GET /api/search-api/search/facets

Get faceted aggregations without document results

Authentication: bearer token (Authorization: Bearer <token>)

ParameterInTypeRequiredDescription
nestedquerybooleannoInclude nested sub-aggregations (e.g. phases per docType)
qquerystringnoOptional filter query
StatusDescriptionBody
200application/json FacetResponseDataEnvelope
400application/problem+json ProblemDetailsDto
401application/problem+json ProblemDetailsDto
403application/problem+json ProblemDetailsDto
404application/problem+json ProblemDetailsDto
409application/problem+json ProblemDetailsDto
422application/problem+json ProblemDetailsDto
500application/problem+json ProblemDetailsDto