You did not describe what your IDE or language are but Splunk SDK dox are here:
If you want to do it via the REST API - then take a look at these two tutorials:
REST API reference docs for saved searches are here: http://docs.splunk.com/Documentation/Splunk/6.5.2/RESTREF/RESTsearch#saved.2Fsearches.2F.7Bname.7D.2...
dispatch for the search you care about and then you should be off and running.
You can first list all your saved Searches like this
| rest services/search/jobs | search isSavedSearch=1 | stats count by label
then you can specifically interrogate them if needed
| rest services/search/jobs | search label="my special saved search"