We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

Code Search API for Scripting?

Daren Kline
Kilo Contributor

Is there an API available to use the Code Search capability in ServiceNow from within Background Scripts or Script Includes?  I have a long list of events (from the Event Registry) that I want to run through a script to call Code Search to see where those events are being triggered/fired, instead of manually searching with Code Search.

1 REPLY 1

sachin_namjoshi
Kilo Patron

There is OOB code search REST api avaiable.

you can explore it using REST API explorer.

 

find_real_file.png