search

Core

GET
Searches for records based on a given query.

Query parameters

querystringRequired
cursorstringOptional
The cursor from where to begin iteration. Start from beginning if not provided.
limitintegerOptional
The maximum number of items to return in a page. The default is '10'.
namespacesenumOptional
The namespaces to search in.
sort_byenumOptional
The property on which to sort the search results. The default is RELEVANCE.
Allowed values: created_datemodified_daterelevance
sort_orderenumOptional
Sorting order. The default is DESCENDING.
Allowed values: ascdesc

Response

This endpoint returns an object
results
list of unions
The search results.
cursor
stringOptional
The cursor from where to begin iteration. Start from beginning if not provided.
GET
1curl -G https://api.devrev.ai/search.core \
2 -H "Authorization: <apiKey>" \
3 -d query=query
200Retrieved
1{
2 "results": [],
3 "cursor": "cursor"
4}