How to fetch Search id from splunk API

May 25 2018 12:16 PM
I am trying to fetch search index details  from splunk API, but while calling splunk API URL we need to pass search ID dynamically.
 
Can you help me how to fetch dynamic search ID from splunk API