# ContentVersionCreatedBatch

Output type representing a batch of content versions created for the content-version-created-batch platform event.

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

This custom Apex type represents an output that Platform Events and the Platform Events Apex handler return for the content-version-created-batch platform event type. It is surfaced when you fetch event details via Client.getEventDetails(). Each batch groups the created content versions under a single parent, exposing both the full ContentVersionCreated records and their bare ids.

## Fields

### Output fields
| Parameter | Type | Required | Description |
|---|---|---|---|
| ParentId | String | optional | Id of the parent record the content versions were created against. |
| ContentVersionsCreated | List&lt;<a href="#/apex-type-content-version-created">ContentVersionCreated</a>&gt; | optional | The content versions created in this batch, as ContentVersionCreated records. |
| ContentVersionIds | List&lt;String&gt; | optional | The ids of the content versions created in this batch. |
