# IRPCTest.CheckServerHealthAnonymous

Location: [gRPC API](https://developer.m-files.com/APIs/gRPC-API/index.md) > [Vault API](https://developer.m-files.com/APIs/gRPC-API/vault/index.md) > [Connection and health checks](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCTest/index.md)

HTML version: https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCTest/CheckServerHealthAnonymous/

Badges: `Vault API / standard` `read` `no session` `idempotent`

Succeeds when the server and all its vaults have finished starting; fails otherwise. No session
needed.

- **Service:** [Connection and health checks](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCTest/index.md) `MFiles.IRPCTest`
- **gRPC method:** `/MFiles.IRPCTest/CheckServerHealthAnonymous`
- **HTTP (mf-http-grpc):** `POST /grpc/v1/check-server-health-anonymous`
- **Request:** [`CheckServerHealthAnonymousRequest`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCTest/CheckServerHealthAnonymous/index.md#request)
- **Response:** [`CheckServerHealthAnonymousResponse`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCTest/CheckServerHealthAnonymous/index.md#response)
- **Book and level:** Vault API, standard
- **Kind:** read
- **Session:** Not needed: the call can be made before logging in.
- **Idempotent:** yes
- **Returns metadata structure version:** no
- **Streaming:** none (unary)

<a id="remarks"></a>

## Remarks

Needs no session. The call succeeds with an empty response when all of these hold:

- Every vault has finished going online.
- Every vault that is set to be online is online.
- On servers that load their vaults from One DB, the latest refresh from One DB succeeded.

Otherwise it fails with `E_FAIL` and no details. Use it as a readiness probe for the whole server,
for example after a restart. To see which check fails, call
[GetServerHealth](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCTest/GetServerHealth/index.md) with a session; to probe one vault, use
[CheckVaultHealthAnonymous](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCTest/CheckVaultHealthAnonymous/index.md).

<a id="request"></a>

## Request: CheckServerHealthAnonymousRequest

No fields.

<a id="response"></a>

## Response: CheckServerHealthAnonymousResponse

No fields.

<a id="related"></a>

## Related methods

- [GetServerHealth](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCTest/GetServerHealth/index.md): Runs the server health checks you select and returns the result of each.
- [CheckVaultHealthAnonymous](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCTest/CheckVaultHealthAnonymous/index.md): Succeeds when a vault on this server is ready for use; fails otherwise. No session needed. Made for load balancer health probes.
