Sync saved objects in the default space
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.
GET
/api/ml/saved_objects/sync
curl \
--request GET 'https://localhost:5601/api/ml/saved_objects/sync' \
--header "Authorization: $API_KEY"
Response examples (200)
{
"datafeedsAdded": {},
"datafeedsRemoved": {},
"savedObjectsCreated": {
"anomaly-detector": {
"myjob1": {
"success": true
},
"myjob2": {
"success": true
}
}
},
"savedObjectsDeleted": {}
}