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

# Generation lookup

> Call /generations to retrieve a prior generation record.

**Method**: `client.getGeneration(...)`

```java theme={null}
import app.phaseo.sdk.Phaseo;

Phaseo client = new Phaseo(System.getenv("PHASEO_API_KEY"));

Object generation = client.getGeneration("G-01ABC123");
System.out.println(String.valueOf(generation));
```

When request details were stored, the returned generation record also includes `replay_supported` and `replay_request` so you can resubmit the captured payload to the original endpoint.
