Create a search saved object with REST API

Is there documentation/example for creating a search saved object?

I have successfully used the create saved object api to create index pattern.
But, I can't find any documentation on how the json payload looks like for a search saved object.

I think the easiest way to see the format of the saved search object would be to use the GET API to see the payload for an existing one.