# EventIdDataSource

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
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
validation_event_source = EventIdDataSource(
    event_id="validation_event_789",
    env_id="validation_dataset_uuid",
    env_type=EnvType.VALIDATION
)
```

## source\_type *: Literal\['EVENT\_ID']*

## event\_id *: str*

## env\_id *: str | UUID | None*

## env\_type *: EnvType*


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.fiddler.ai/api/fiddler-python-client-sdk/schemas/event-id-data-source.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
