> ## Documentation Index
> Fetch the complete documentation index at: https://docs.fiddler.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# EventIdDataSource

> Data source for explainability analysis using a specific event ID.

Data source for explainability analysis using a specific event ID.

EventIdDataSource allows you to perform explainability analysis on a specific
event that has been previously logged to Fiddler. This is useful when you want
to explain predictions for events that are already stored in your environment,
enabling you to analyze historical predictions and their explanations.

This data source type is ideal for investigating specific incidents, analyzing
historical predictions, or performing post-hoc analysis on logged events.

## Examples

Creating an event data source for production analysis:

```python theme={null}
event_source = EventIdDataSource(
    event_id="evt_12345abcdef",
    env_id="prod_dataset_uuid",
    env_type=EnvType.PRODUCTION
)
```

Creating an event data source for validation analysis:

```python theme={null}
validation_event_source = EventIdDataSource(
    event_id="validation_event_789",
    env_id="validation_dataset_uuid",
    env_type=EnvType.VALIDATION
)
```

## source\_type

## event\_id

## env\_id

## env\_type

## model\_config

Configuration for the model, should be a dictionary conforming to \[ConfigDict]\[pydantic.config.ConfigDict].
