## Get merge status `client.Merge.GetMerge(ctx, id) (*MergeGetMergeResponse, error)` **get** `/v1/merges/{id}` Returns the status and details of a merge operation by its ID. **[Rate limit category](/using-the-api/rate-limits/):** Read ### Parameters - `id string` The merge operation ID. ### Returns - `type MergeGetMergeResponse struct{…}` - `ID string` Unique identifier for the merge operation. - `CreatedAt string` ISO 8601 timestamp of when the merge was created. - `DuplicateID string` ID of the record that was merged into the primary and soft-deleted. - `EntityType string` The object type of the merged records (e.g. `account`, `contact`, `opportunity`, or a custom object slug). - `PrimaryID string` ID of the record that was kept (the primary). - `Status string` Current status of the merge: `cleanup_pending`, `done`, or `failed`. - `UpdatedAt string` ISO 8601 timestamp of when the merge was last updated. ### Example ```go package main import ( "context" "fmt" "github.com/Lightfld/lightfield-go" "github.com/Lightfld/lightfield-go/option" ) func main() { client := githubcomlightfldlightfieldgo.NewClient( option.WithAPIKey("My API Key"), ) mergeGetMergeResponse, err := client.Merge.GetMerge(context.TODO(), "id") if err != nil { panic(err.Error()) } fmt.Printf("%+v\n", mergeGetMergeResponse.ID) } ``` #### Response ```json { "id": "id", "createdAt": "createdAt", "duplicateId": "duplicateId", "entityType": "entityType", "primaryId": "primaryId", "status": "status", "updatedAt": "updatedAt" } ```