Do we have any direct api to create watchers in specific space?

Hi Team,

I am planning to create watcher automatically using APIs. We have multiple spaces for multiple teams so we don't want to create watchers in default space. Can any one please guide me how I can create watcher in elastic cloud version 8.9.0 or more?


Watcher exists only in Elasticsearch and has no concept of Spaces in Kibana.

You might be interesting in Kibana Alerting which accepts a space_id as part of the REST API.