Sync machine learning saved objects Beta
Synchronizes Kibana saved objects for machine learning jobs and trained models. 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
}