# Types.CreateContentVersionBatchPayload

Input payload for creating content versions when files are imported into Salesforce.

> Kind: Apex type · Updated: 2026-07-01

Represents input for creating content versions when files are imported into Salesforce. Consumed by Client.createContentVersionBatch(). Each entry in files is a CreateContentVersionFlowInput describing one file to version.

## Fields

### Fields
| Parameter | Type | Required | Description |
|---|---|---|---|
| files | List&lt;<a href="#/apex-type-create-content-version-flow-input">CreateContentVersionFlowInput</a>&gt; | required | The files to create content versions for. Each CreateContentVersionFlowInput carries library (the related files library such as cloudfiles, google, sharepoint), driveId (the drive where the files are located), and id (the resource Id of each file for which a content version is created). |
| context | String | required | A short description attribute for the process of creating the content version. |

## Constructors

```apex
CreateContentVersionBatchPayload(
  List<CreateContentVersionFlowInput> files,
  String context
)
```
