# Utility

Methods to verify service status and retrieve error information.

## Get error list

 - [GET /api/utility/errors](https://docs.namirial.app/products/leandisposable/openapi/utility/geterrors.md): Returns the human-readable description of an error code in the requested language.

Note: requires Content-Type: application/json header.


See getErrors.

## Verify Lean service status

 - [GET /api/utility/verifyLeanStatus](https://docs.namirial.app/products/leandisposable/openapi/utility/verifyleanstatus.md): Returns HTTP 200 if the Lean Disposable service is operational. Use this endpoint to monitor service availability.

If the service is completely unavailable, this endpoint will return 503 Service Unavailable — implement appropriate error handling for this case.

## Verify web service status

 - [GET /api/utility/verifyStatusWs](https://docs.namirial.app/products/leandisposable/openapi/utility/verifystatusws.md): Returns HTTP 200 if the Lean Disposable web service (WS) is operational. Use this endpoint to monitor web service availability.

If the service is completely unavailable, this endpoint will return 503 Service Unavailable — implement appropriate error handling for this case.

## Get LRA capabilities

 - [GET /api/utility/{lraId}/capabilities](https://docs.namirial.app/products/leandisposable/openapi/utility/getlracapabilities.md): Retrieves the configuration of a LRA: allowed OTP types, identification types, eID methods, certificate types, contract templates, and One Platform info. See getLraCapabilities.

