I have a search SID, and currently I am getting its result using the API api/search/jobs/<sid>/results
However, I also need to access the search query string behind this search result. Is there an API for getting that?
Hi @patng_nw
Use below spl query and add necessary sid then request.search will provide the required search query string
| rest /services/search/jobs/<sid>| table sid title eai:acl.app eai:acl.owner request.search
-----------------------------------------------------------------------------------------------------------------------------------
If this reply helps do upvote the answer.
Hi @patng_nw
Use below spl query and add necessary sid then request.search will provide the required search query string
| rest /services/search/jobs/<sid>| table sid title eai:acl.app eai:acl.owner request.search
-----------------------------------------------------------------------------------------------------------------------------------
If this reply helps do upvote the answer.
It works. Thanks a lot!