# Get Event Details

Resolve the full details of a CloudFiles Event from Apex.

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

## Signature

```apex
global static List<Event> GetEventDetails(
  List<GetEventDetails.FlowInput> inputs
)
```

> **Invocable Apex class** — This is an invocable Apex class, not a Client method. Call it as cldfs.GetEventDetails.GetEventDetails(inputs) rather than cldfs.Client.*. Each FlowInput carries either an Event custom object (CloudFilesEvent__c) or an Event platform event (CloudFiles_Event__e), matching your CloudFiles Event Mode setting.

### Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| inputs | List&lt;GetEventDetails.FlowInput&gt; | required | One entry per event to resolve. Each FlowInput exposes eventCustomObj (Event custom object) and event (Event platform event); populate whichever matches your CloudFiles Event Mode setting. |

## Return Type

List<Event&gt; — the resolved CloudFiles Event objects.

## Example

```apex
List<cldfs.Event> returnedEvents = new List<cldfs.Event>();

List<cldfs.GetEventDetails.FlowInput> getEventDetailInputs = new List<cldfs.GetEventDetails.FlowInput>();

for(cldfs__CloudFilesEvent__c record : Trigger.new){){
    cldfs.GetEventDetails.FlowInput singleInput = new cldfs.GetEventDetails.FlowInput();
    singleInput.eventCustomObj = record;
    getEventDetailInputs.add(singleInput);
}

returnedEvents = cldfs.GetEventDetails.GetEventDetails(getEventDetailInputs);
```

```apex
List<cldfs.Event> returnedEvents = new List<cldfs.Event>();
List<cldfs.GetEventDetails.FlowInput> getEventDetailInputs = new List<cldfs.GetEventDetails.FlowInput>();

for(cldfs__CloudFiles_Event__e pe : Trigger.new){
    cldfs.GetEventDetails.FlowInput singleInput = new cldfs.GetEventDetails.FlowInput();
    singleInput.event = pe;
    getEventDetailInputs.add(singleInput);
}

returnedEvents = cldfs.GetEventDetails.GetEventDetails(getEventDetailInputs);
```
