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.
Query parameters
-
simulate boolean
When true, simulates the synchronization by returning only the list of actions that would be performed.
GET /api/ml/saved_objects/sync
curl \
-X GET https://localhost:5601/api/ml/saved_objects/sync
Response examples (200)
{
"datafeedsAdded": {},
"datafeedsRemoved": {},
"savedObjectsCreated": {
"anomaly-detector": {
"myjob1": {
"success": true
},
"myjob2": {
"success": true
}
}
},
"savedObjectsDeleted": {}
}
Response examples (401)
{
"error": "Unauthorized",
"message": "string",
"statusCode": 401
}