# ContentVersionCreated

Output payload for the content-version-created platform event.

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

Custom Apex type representing the output that Platform Events and the Platform Events Apex Handler return for the content-version-created platform event type. Retrieve it via Client.getEventDetails().

## Fields

### Output fields
| Parameter | Type | Required | Description |
|---|---|---|---|
| ParentId | String | optional | Id of the parent record the content version was created under. |
| ContentVersionId | String | optional | Id of the created ContentVersion record. |
| FileName | String | optional | Name of the created file. |
| File | <a href="#/apex-type-resource">Resource</a> | optional | The copied file as a Resource. |
