# Sensitivity labels (IRPCSensitivityLabels)

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)

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

Reads the Microsoft Purview sensitivity labels of files.

- **gRPC service:** `MFiles.IRPCSensitivityLabels`
- **Book and level:** [Vault API](https://developer.m-files.com/APIs/gRPC-API/vault/index.md), standard
- **Methods:** 1
- **Proto file:** [`mfiles/IRPCSensitivityLabels.proto`](https://developer.m-files.com/APIs/gRPC-API/downloads/proto/mfiles/IRPCSensitivityLabels.proto)

<a id="overview"></a>

## Overview

Reads the Microsoft Purview sensitivity labels of a file, for showing them next to the file in a
user interface. The labels come from the Microsoft SharePoint Embedded storage where the vault
keeps the file; vaults that do not store files there have no labels.

The call is advisory: it never fails because labels are unavailable. Whenever the server cannot
produce labels, it returns an empty `label_info`. Do not use it as a security check.

<a id="methods"></a>

## Methods

| Method | Summary | Facts |
|---|---|---|
| [GetSensitivityLabels](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCSensitivityLabels/GetSensitivityLabels/index.md) | Gets the sensitivity labels of one file, or an empty list when no labels are available. | `read` `session` `idempotent` |
