Calling ServiceNow AI search through REST API
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2025 01:46 AM
Hi guys, has anyone experience with calling ServiceNow AI search through REST API ? We are struggling to understand how to provide correct parameters into out of the box function "search" in Script Include AISASearchUtilSNC. We are struggling how to provide facetFilters and searchFilters in correct format. There is no documentation available anywhere.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2025 07:40 AM - edited 12-02-2025 07:41 AM
const SEARCHCONTEXT = // now/nav/ui/classic/params/target/sys_search_context_config_list.do (pick one). I built my own to only return certain types of data
const body = {
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Friday
We found another AI search API which works pretty well for us. It might be an option for too to have a look at it. See this article I just posted; https://www.servicenow.com/community/servicenow-otto-for-creator/using-ai-search-from-server-side-sc...
regards, Peter