# IRPCVaultAdmin.CheckAnnotationsAndRedlining

Location: [gRPC API](https://developer.m-files.com/APIs/gRPC-API/index.md) > [Administration API](https://developer.m-files.com/APIs/gRPC-API/admin/index.md) > [Vault administration](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCVaultAdmin/index.md)

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

Badges: `Administration API / specialized` `admin` `session` `idempotent`

Checks whether the vault has the metadata structure that the annotations and redlining feature
needs.

- **Service:** [Vault administration](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCVaultAdmin/index.md) `MFiles.IRPCVaultAdmin`
- **gRPC method:** `/MFiles.IRPCVaultAdmin/CheckAnnotationsAndRedlining`
- **HTTP (mf-http-grpc):** `POST /grpc/v1/check-annotations-and-redlining`
- **Request:** [`CheckAnnotationsAndRedliningRequest`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCVaultAdmin/CheckAnnotationsAndRedlining/index.md#request)
- **Response:** [`CheckAnnotationsAndRedliningResponse`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCVaultAdmin/CheckAnnotationsAndRedlining/index.md#response)
- **Book and level:** Administration API, specialized
- **Kind:** admin
- **Session:** Required: the session ID from LogIn in the mfiles-session-id-bin metadata.
- **Idempotent:** yes
- **Returns metadata structure version:** no
- **Streaming:** none (unary)

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

## Remarks

- Requires a vault session; no special rights (a normal user can call it). Read-only.
- If it returns false, a vault administrator can enable the feature with
  [EnableAnnotationsAndRedlining](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCVaultAdmin/EnableAnnotationsAndRedlining/index.md).

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

## Request: CheckAnnotationsAndRedliningRequest

No fields.

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

## Response: CheckAnnotationsAndRedliningResponse

> Nested message fields are expanded to depth 3; follow a type link for deeper levels and for the type's own page.

| Field | Type | Description |
|---|---|---|
| `enabled` | `bool` | True if all metadata structure elements of the feature exist in the vault. |

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

## Related methods

- [EnableAnnotationsAndRedlining](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCVaultAdmin/EnableAnnotationsAndRedlining/index.md): Enables annotations and redlining in the vault by creating the metadata structure elements that the feature needs.
