# FileSensitivityLabelInfo

Location: [gRPC API](https://developer.m-files.com/APIs/gRPC-API/index.md) > [Reference](https://developer.m-files.com/APIs/gRPC-API/Reference/index.md) > [Messages](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/index.md)

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

Result of GetSensitivityLabels. Carries the (possibly empty) list of
Purview / SPE sensitivity labels attached to a single file. An empty array
means any of: feature flag off, vault not SPE-enabled, file has no
master-storage ref, unsupported extension, or Master Storage was
unreachable / returned unparseable JSON. The client must treat "empty" as
"show nothing" - this call is an advisory UX hint, never a security gate.

- **Full name:** `MFiles.FileSensitivityLabelInfo`
- **Proto file:** [`mfiles/structs.proto`](https://developer.m-files.com/APIs/gRPC-API/downloads/proto/mfiles/structs.proto)

<a id="fields"></a>

## Fields

| Field | Type | Number | Description |
|---|---|---|---|
| <a id="f-labels"></a>`labels` | repeated [`FileSensitivityLabel`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.FileSensitivityLabel/index.md) | 1 | Labels attached to the file. |

<a id="used-by-methods"></a>

## Used by methods

- [IRPCSensitivityLabels.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.

<a id="used-in-fields"></a>

## Used in fields

- [`GetSensitivityLabelsResponse.label_info`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCSensitivityLabels/GetSensitivityLabels/index.md#response): The labels of the file. An empty `labels` list means that no label information is available, not that the file is known to be unlabeled.
