Core Search (POST)
Searches for records based on a given query.
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
query
The query string. Search query language: https://docs.devrev.ai/product/search#fields
cursor
The cursor to resume iteration from. If not provided, then
iteration starts from the beginning.
limit
The maximum number of items to return in a page. The default is
'10'.
mode
The iteration mode to use. If “after”, then entries after the provided cursor will be returned, or if no cursor is provided, then from the beginning. If “before”, then entries before the provided cursor will be returned, or if no cursor is provided, then from the end. Entries will always be returned in the specified sort-by order.
Allowed values:
namespaces
The namespaces to search in.
sort_by
Search sort by parameters.
Allowed values:
sort_order
Search sort order parameters.
Allowed values:
Response
Search response.
results
The search results.
cursor
The cursor from where to begin iteration. Start from beginning if
not provided.
next_cursor
The cursor used to iterate subsequent results in accordance to the
sort order. If not set, then no later elements exist.
prev_cursor
The cursor used to iterate preceding results in accordance to the
sort order. If not set, then no prior elements exist.