Check system health
GET/api/v4/system/ping
Check if the server is up and healthy based on the configuration setting GoRoutineHealthThreshold. If GoRoutineHealthThreshold and the number of goroutines on the server exceeds that threshold the server is considered unhealthy. If GoRoutineHealthThreshold is not set or the number of goroutines is below the threshold the server is considered healthy.
Minimum server version: 3.10
If a “device_id” is passed in the query, it will test the Push Notification Proxy in order to discover whether the device is able to receive notifications. The response will have a “CanReceiveNotifications” property with one of the following values: - true: It can receive notifications - false: It cannot receive notifications - unknown: There has been an unknown error, and it is not certain whether it can
receive notifications.
Minimum server version: 6.5 If “use_rest_semantics” is set to true in the query, the endpoint will not return an error status code in the header if the request is somehow completed successfully. Minimum server version: 9.6
Permissions
None. Authentication is not required for this endpoint.
Response Details
The response varies based on query parameters and authentication:
-
Basic response (no parameters): Returns basic server information including
status, mobile app versions, and active search backend. -
Enhanced response (
get_server_status=true): Additionally returnsdatabase_statusandfilestore_statusto verify backend connectivity. Authentication is not required. -
Admin response (
get_server_status=truewithmanage_systempermission):Additionally returns
root_statusindicating whether the server is running as root. Requires authentication withmanage_systempermission.
Request
Responses
- 200
- 500
Status of the system
Something went wrong with the server