Search / Search

Search across the platform.

Route: /api/{tenant:minlength(2)}/v{version:apiVersion}/search/search

Method: GET

Authorisation: Minimum role: USER

Request Arguments
Name Type Source
inputDTO_search_inputQuery

  Request body example

Response object

Response status: 200 (OK)

Response type: DTO_search_response_wrapper

Wrapper: DTO_response_wrap

Other response statuses: 400 (BadRequest), 403 (Forbidden)

  Response body example

DTO_search_input
NameTypeReadOnlyDescription
id_searchInt32 (nullable)Id search
debug_vector_match_thresholdDoubleDebug vector match threshold
debug_max_estimated_tokensInt32Debug max estimated tokens
debug_similarity_rejection_thresholdDoubleDebug similarity rejection threshold
sort_by_keyStringSort by key
response_field_keysString[]Response field keys
filtersString[]Filters
include_aggregationsBooleanInclude aggregations
include_importedBooleanInclude imported
searchStringSearch
sort_orderENUM sort_orderSort order
takeInt32Take
pageInt32Page
DTO_search_response_wrapper
NameTypeReadOnlyDescription
listsDTO_search_response[]Lists
ticketsDTO_search_response[]Tickets
kbsDTO_search_response[]Kbs
groupsDTO_search_response[]Groups
usersDTO_search_response[]Users
more_like_thisDTO_search_response[]More like this
keyStringKey
statusENUM search_statusStatus
gpt_applicableBooleanGpt applicable
additional_lists_matchingInt32Additional lists matching
additional_tickets_matchingInt32Additional tickets matching
additional_kbs_matchingInt32Additional kbs matching
error_messageStringError message
debugDTO_search_debug_responseDebug
DTO_search_response
NameTypeReadOnlyDescription
sys_statusDTO_referenceSys status
categoryDTO_referenceCategory
groupDTO_referenceGroup
idInt32Id
titleStringTitle
highlightStringHighlight
additional_infoStringAdditional info
entityENUM entityReadOnlyEntity
scoreDoubleReadOnlyScore
score_weightedDoubleReadOnlyScore weighted
external_linkStringReadOnlyExternal link
createdDateTimeCreated
bodyStringStore the full text of the entity in plain text.
DTO_reference
NameTypeReadOnlyDescription
idInt32The id of the reference
labelObjectReadOnlyName/Label from referenced object.
DTO_search_debug_response
NameTypeReadOnlyDescription
took_explainedDTO_took[]Took explained
error_messageStringError message
chat_messagesString[]Chat messages
tokens_count_estimatedInt32Tokens count estimated
key_phrasesString[]Key phrases
debug_messagesString[]Debug messages
DTO_took
NameTypeReadOnlyDescription
itemStringItem
took_msInt64Took ms
ENUM entity
ValueNameDescription
0UNKNOWNUNKNOWN
1LISTLIST
2GROUPGROUP
3USERUSER
4LIST_ENTRYLIST_ENTRY
5TICKETTICKET
6SEARCHSEARCH
7INVOICEINVOICE
8KNOWLEDGE_BASEKNOWLEDGE_BASE
9SCRAPED_ITEMSCRAPED_ITEM
10FIELDFIELD
11TICKET_CONVERSATIONTICKET_CONVERSATION
12EXPORTEXPORT
13EXTERNAL_PRODUCTEXTERNAL_PRODUCT
14TEMPLATETEMPLATE
ENUM sort_order
ValueNameDescription
0ASCASC
1DESCDESC
ENUM search_status
ValueNameDescription
0UNKNOWNUNKNOWN
1INVALIDInvalid
2NOT_APPLICABLENot applicable
3IN_PROGRESSIn progress
4COMPLETEDCompleted
5OTHER_SEARCH_IN_PROGRESSAnother search in progress
6NO_DATANo data
7NO_ACTIVE_SEARCHNo active search
8TIMED_OUTTimed out