# ArchiveDocsJobOutputInfo

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.ArchiveDocsJobOutputInfo/

Struct for the output info of a job of archiving whole documents.

- **Full name:** `MFiles.ArchiveDocsJobOutputInfo`
- **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-objects"></a>`objects` | `uint32` | 1 | The number of archived documents. |
| <a id="f-bytes"></a>`bytes` | `int64` | 2 | The amount of archived bytes. |

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

## Used by methods

- [IRPCVaultAdmin.ArchiveDocuments](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCVaultAdmin/ArchiveDocuments/index.md): Exports (archives) the objects that match a filter into an archive package, or previews how many would be archived.

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

## Used in fields

- [`JobOutputInfoDataUnion.archive_objects`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.JobOutputInfoDataUnion/index.md#f-archive_objects): Output info for archiving documents job.
- [`ArchiveDocumentsResponse.archive_jobs_info`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCVaultAdmin/ArchiveDocuments/index.md#response): The preview result when `preview_only` is true: the number of objects and bytes.
