# ExportedDataHistoryInterval

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) > [Enums](https://developer.m-files.com/APIs/gRPC-API/Reference/Enums/index.md)

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

Enumeration of history timeline sampling intervals.

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

<a id="values"></a>

## Values

| Name | Number | Description |
|---|---|---|
| <a id="v-EXPORTED_DATA_HISTORY_INTERVAL_DAY"></a>`EXPORTED_DATA_HISTORY_INTERVAL_DAY` | 0 | The period is one day. |
| <a id="v-EXPORTED_DATA_HISTORY_INTERVAL_WEEK"></a>`EXPORTED_DATA_HISTORY_INTERVAL_WEEK` | 1 | The period is one week. |
| <a id="v-EXPORTED_DATA_HISTORY_INTERVAL_MONTH"></a>`EXPORTED_DATA_HISTORY_INTERVAL_MONTH` | 2 | The period is one month. |
| <a id="v-EXPORTED_DATA_HISTORY_INTERVAL_YEAR"></a>`EXPORTED_DATA_HISTORY_INTERVAL_YEAR` | 3 | The period is one year. |

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

## Used in fields

- [`ExportedDataPropertyDef.sampling_interval`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.ExportedDataPropertyDef/index.md#f-sampling_interval): Timeline sampling interval
- [`ExportedDataPropertyDef.fixed_period_unit`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.ExportedDataPropertyDef/index.md#f-fixed_period_unit): The period unit for fixed period.
