# DocumentSplit

Output payload returned for the document-split 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 document-split platform event type. Produced when a document is split — see Client.splitDocument() — and surfaced through Client.getEventDetails().

## Fields

### Output fields
| Parameter | Type | Required | Description |
|---|---|---|---|
| RecordId | String | optional | Identifier of the source record the split was performed against. |
| Files | List&lt;<a href="#/apex-type-resource">Resource</a>&gt; | optional | The resulting split files as Resource records. |
| ContentVersionIds | List&lt;String&gt; | optional | ContentVersion Ids of the resulting split files. |
| Context | String | optional | Context string passed through from the originating operation. |
