Great question - I had to go ask someone 🙂
The answer is that yes, you can. If you create saved search called "Foo" with a query like this:
index=_internal | timechart span=$span$ count
You can then execute it by executing a search like this:
| savedsearch Foo span=1d
So from the REST API perspective, you would make a POST request to the search/jobs endpoint with the search parameter set to the above query.
Hopefully that makes sense - let me know if you need nay more clarification.
... View more