Skip to main content
Use the wrapper method:
  • client.GetGeneration(ctx, generationID)
import (
  "context"
  "fmt"
  phaseo "github.com/phaseoteam/Phaseo/packages/sdk/sdk-go"
)

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

fmt.Println(record)
When request details were stored, the returned record also includes replay_supported and replay_request so you can resubmit the captured payload to the original endpoint.
Last modified on July 9, 2026