search

Hybrid

GET
Performs search, using a combination of syntactic and semantic search.

Query parameters

namespaceenumRequired
The hybrid namespace to search in.
querystringRequired
The query string.
limitintegerOptional
The maximum number of items to return in a page. The default is '10'.
semantic_weightdoubleOptional
The weightage for semantic search. Values between 0 and 1 are accepted.

Response

This endpoint returns an object
results
list of unions
The search results.
GET
1curl -G https://api.devrev.ai/search.hybrid \
2 -H "Authorization: <apiKey>" \
3 -d namespace=article \
4 -d query=query
200Retrieved
1{
2 "results": []
3}