# AutomaticMetadataRequest

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

The definition of an automatic value.

- **Full name:** `MFiles.AutomaticMetadataRequest`
- **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-upload_ids"></a>`upload_ids` | repeated `int32` | 1 | The upload session IDs associated with the metadata request. If the metadata request is pointed for existing object, the existing files are used instead. |
| <a id="f-object_type_id"></a>`object_type_id` | `int32` | 2 | The object type of object that is about to be created. |
| <a id="f-obj_ver"></a>`obj_ver` | [`ObjVer`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.ObjVer/index.md) | 3 | The object version if the automatic metadata request is pointed for existing object. |
| <a id="f-properties"></a>`properties` | repeated [`PropertyValue`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.PropertyValue/index.md) | 4 | The property values of the object. |
| <a id="f-services"></a>`services` | repeated `string` | 5 | List of requested metadata providers. Empty if all metadata providers are applied. |
| <a id="f-custom_data"></a>`custom_data` | `string` | 6 | The custom data for metadata providers. |
| <a id="f-uploaded_files"></a>`uploaded_files` | repeated [`UploadedFile`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.UploadedFile/index.md) | 7 | Files of stateless uploads (fileRef, title and extension) used like the upload session IDs. Only uploaded files with a file_ref are accepted. |

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

## Used by methods

- [IRPCObjectOperations.GetAutomaticMetadata](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCObjectOperations/GetAutomaticMetadata/index.md): Gets automatic metadata from the vault's metadata providers, for an object about to be created (from its uploaded files) or for an existing object version.

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

## Used in fields

- [`GetAutomaticMetadataRequest.request`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCObjectOperations/GetAutomaticMetadata/index.md#request): The automatic metadata extraction request.
