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

# Replay Index • AI Agent SDK

> replay_index: Return a ``(seq, kind): payload`` lookup for memoised replay.

# replay\_index

Method

> This is a method of the [**RunJournal**](https://praison.ai/docs/sdk/reference/praisonaiagents/classes/RunJournal.md) class in the [**journal**](https://praison.ai/docs/sdk/reference/praisonaiagents/modules/journal.md) module.

Return a `&#123;(seq, kind): payload&#125;` lookup for memoised replay.

The loop consults this during replay: a hit returns the recorded result
instantly (no re-execution); a miss means real work restarts there.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def replay_index(run_id: str) -> Dict[tuple, Dict[str, Any]]
```

## Parameters

**run\_id** `str` *required*

No description available.

### Returns

**Returns** `Dict[tuple, Dict[str, Any]]`

The result of the operation.

## Uses

* `events`

## Source

> [card] [View on GitHub](https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/runtime/journal.py#L380)
>
> `praisonaiagents/runtime/journal.py` at line 380

***

## Related Documentation

> [card] [Replay Feature](https://praison.ai/docs/features/replay.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.