Sync saved objects in the default space
- Base URL
-
https://{kibana_url}
- GET /api/ml/saved_objects/sync
- GET /s/{space_id}/api/ml/saved_objects/sync
Refer to Spaces for more information.
Synchronizes Kibana saved objects for machine learning jobs and trained models in the default space. You must have all privileges for the Machine Learning feature in the Analytics section of the Kibana feature privileges. This API runs automatically when you start Kibana and periodically thereafter.
Responses
Indicates a successful call
-
datafeedsAddedmap string to object -
If a saved object for an anomaly detection job is missing a datafeed identifier, it is added when you run the sync machine learning saved objects API.
-
datafeedsRemovedmap string to object -
If a saved object for an anomaly detection job references a datafeed that no longer exists, it is deleted when you run the sync machine learning saved objects API.
-
savedObjectsCreatedobject -
If saved objects are missing for machine learning jobs or trained models, they are created when you run the sync machine learning saved objects API.