get_ancestry
Walk a FamilySearch person's pedigree back through generations, returning ancestors in Ahnentafel order so missing lines are visible. Requires a person ID and access token.
Instructions
Walk a tree person's pedigree back through the generations.
Each person carries an Ahnentafel position: 1 is the person asked about, 2 and 3 their father and mother, 4 to 7 their grandparents, and so on -- so a flat list reads as a tree, and a gap is visible as a missing number.
The further back a pedigree runs the less of it is sourced. Lines beyond about five generations are frequently copied rather than researched, and a long unbroken pedigree is a reason for more suspicion rather than less.
The FamilySearch shared tree is community-edited: anyone can change this profile, and conflations of two same-named people are common. What this returns is a hint about where to look, not evidence. Follow it to an underlying record and cite that instead.
Requires an access token.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| person_id | Yes | FamilySearch person id to walk back from. | |
| generations | No | Generations to return, 1 to 8. The person is generation 1, their parents 2, grandparents 3. |