GET /rest/system/config/insync

Returns whether the config is in sync, i.e. whether the running configuration is the same as that on disk.

{
  "configInSync": true
}