GET /rest/system/status

Returns information about current system status and resource usage. The CPU percent value has been deprecated from the API and will always report 0.

  1. {
  2. "alloc": 30618136,
  3. "connectionServiceStatus": {
  4. "dynamic+https://relays.syncthing.net/endpoint": {
  5. "error": null,
  6. "lanAddresses": [
  7. "relay://23.92.71.120:443/?id=53STGR7-YBM6FCX-PAZ2RHM-YPY6OEJ-WYHVZO7-PCKQRCK-PZLTP7T-434XCAD&pingInterval=1m0s&networkTimeout=2m0s&sessionLimitBps=0&globalLimitBps=0&statusAddr=:22070&providedBy=canton7"
  8. ],
  9. "wanAddresses": [
  10. "relay://23.92.71.120:443/?id=53STGR7-YBM6FCX-PAZ2RHM-YPY6OEJ-WYHVZO7-PCKQRCK-PZLTP7T-434XCAD&pingInterval=1m0s&networkTimeout=2m0s&sessionLimitBps=0&globalLimitBps=0&statusAddr=:22070&providedBy=canton7"
  11. ]
  12. },
  13. "tcp://0.0.0.0:22000": {
  14. "error": null,
  15. "lanAddresses": [
  16. "tcp://0.0.0.0:22000"
  17. ],
  18. "wanAddresses": [
  19. "tcp://0.0.0.0:22000"
  20. ]
  21. }
  22. },
  23. "cpuPercent": 0,
  24. "discoveryEnabled": true,
  25. "discoveryErrors": {
  26. "global@https://discovery-v4-1.syncthing.net/v2/": "500 Internal Server Error",
  27. "global@https://discovery-v4-2.syncthing.net/v2/": "Post https://discovery-v4-2.syncthing.net/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)",
  28. "global@https://discovery-v4-3.syncthing.net/v2/": "Post https://discovery-v4-3.syncthing.net/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)",
  29. "global@https://discovery-v6-1.syncthing.net/v2/": "Post https://discovery-v6-1.syncthing.net/v2/: dial tcp [2001:470:28:4d6::5]:443: connect: no route to host",
  30. "global@https://discovery-v6-2.syncthing.net/v2/": "Post https://discovery-v6-2.syncthing.net/v2/: dial tcp [2604:a880:800:10::182:a001]:443: connect: no route to host",
  31. "global@https://discovery-v6-3.syncthing.net/v2/": "Post https://discovery-v6-3.syncthing.net/v2/: dial tcp [2400:6180:0:d0::d9:d001]:443: connect: no route to host"
  32. },
  33. "discoveryStatus": {
  34. "IPv4 local": {
  35. "error": null
  36. },
  37. "IPv6 local": {
  38. "error": null
  39. },
  40. "global@https://discovery-v4-1.syncthing.net/v2/": {
  41. "error": "500 Internal Server Error"
  42. },
  43. "global@https://discovery-v4-2.syncthing.net/v2/": {
  44. "error": "Post https://discovery-v4-2.syncthing.net/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)"
  45. },
  46. "global@https://discovery-v4-3.syncthing.net/v2/": {
  47. "error": "Post https://discovery-v4-3.syncthing.net/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)"
  48. },
  49. "global@https://discovery-v6-1.syncthing.net/v2/": {
  50. "error": "Post https://discovery-v6-1.syncthing.net/v2/: dial tcp [2001:470:28:4d6::5]:443: connect: no route to host"
  51. },
  52. "global@https://discovery-v6-2.syncthing.net/v2/": {
  53. "error": "Post https://discovery-v6-2.syncthing.net/v2/: dial tcp [2604:a880:800:10::182:a001]:443: connect: no route to host"
  54. },
  55. "global@https://discovery-v6-3.syncthing.net/v2/": {
  56. "error": "Post https://discovery-v6-3.syncthing.net/v2/: dial tcp [2400:6180:0:d0::d9:d001]:443: connect: no route to host"
  57. }
  58. },
  59. "discoveryMethods": 8,
  60. "goroutines": 49,
  61. "lastDialStatus": {
  62. "tcp://10.20.30.40": {
  63. "when": "2019-05-16T07:41:23Z",
  64. "error": "dial tcp 10.20.30.40:22000: i/o timeout"
  65. },
  66. "tcp://172.16.33.3:22000": {
  67. "when": "2019-05-16T07:40:43Z",
  68. "ok": true
  69. },
  70. "tcp://83.233.120.221:22000": {
  71. "when": "2019-05-16T07:41:13Z",
  72. "error": "dial tcp 83.233.120.221:22000: connect: connection refused"
  73. }
  74. },
  75. "myID": "P56IOI7-MZJNU2Y-IQGDREY-DM2MGTI-MGL3BXN-PQ6W5BM-TBBZ4TJ-XZWICQ2",
  76. "pathSeparator": "/",
  77. "startTime": "2016-06-06T19:41:43.039284753+02:00",
  78. "sys": 42092792,
  79. "themes": [
  80. "default",
  81. "dark"
  82. ],
  83. "tilde": "/Users/jb",
  84. "uptime": 2635
  85. }

New in version 1.2.0: The lastDialStatus dictionary contains the last error (or null for success) for each peer address that Syncthing has attempted to contact. The connectionServiceStatus entries gained "error": null attributes where previously there would be no error attribute at all in the success case.

New in version 1.18.0: The discoveryStatus dictionary lists all configured discovery methods, not only failed ones like the now deprecated discoveryErrors. Each entry is an object itself (for consistency with other fields), where a null value for the error attribute means the method is running successfully. This effectively deprecates the discoveryMethods attribute as well, which now always matches the number of entries in discoveryStatus.