> ## 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.

# Consulta de gerações

> Consulte as gerações salvas com o SDK Go.

Use o método wrapper:

* `client.GetGeneration(ctx, generationID)`

```go theme={null}
import (
  "context"
  "fmt"
  phaseo "github.com/phaseoteam/Phaseo/packages/sdk/sdk-go/v3"
)

client := phaseo.New(apiKey, "https://api.phaseo.app/v1")
record, err := client.GetGeneration(context.Background(), "G-01ABC...")
if err != nil {
  panic(err)
}

fmt.Println(record)
```

Quando os detalhes da solicitação foram armazenados, o registro retornado também inclui `replay_supported` e `replay_request` para que você possa reenviar o payload capturado ao endpoint original.


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