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

# البحث عن سجل التوليد

> ابحث عن عمليات التوليد المحفوظة باستخدام Go SDK.

استخدم طريقة الغلاف:

* `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)
```

إذا حُفظت تفاصيل الطلب، فسيتضمن السجل المُعاد أيضًا `replay_supported` و`replay_request` لتتمكن من إعادة إرسال الحمولة المحفوظة إلى نقطة النهاية الأصلية.


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