Core Post

POST
Searches for records based on a given query.

Request

This endpoint expects an object.
querystringRequired

The query string. Search query language: https://docs.devrev.ai/product/search#fields

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'.
namespaceslist of enumsOptional
The namespaces to search in.
sort_byenumOptional
Allowed values: created_datemodified_daterelevance
Search sort by parameters.
sort_order"asc" or "desc"Optional
Allowed values: ascdesc
Search sort order parameters.

Response

This endpoint returns an object.
resultslist of objects
The search results.
cursorstringOptional
The cursor from where to begin iteration. Start from beginning if not provided.