search_collections
Find a record collection to scope your search to a specific register, census, or index instead of the whole archive.
Instructions
Find a record collection, so a search can be scoped to one.
A collection is one register, census or index -- "Connecticut Church Records, 1630-1920" rather than the whole archive. Once you know which collection should hold an entry, scoping search_records to its id turns a fishing expedition into a lookup, and turns a nil result into something that means anything.
Each result carries a coverage statement: which record types, which place, which years. Read it. A collection covering 1850 to 1900 cannot answer a question about 1840, and the difference between "no record exists" and "I searched a collection that could not contain it" is the whole of the reasoning.
FamilySearch offers no search over the catalogue, so this walks it and matches your words against the titles. The catalogue runs to thousands of collections and the API pages it in blocks of roughly ninety, so this makes several calls the first time; the result is cached.
Works without a token.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | Maximum collections to return (1-200). | |
| query | No | Words to match against collection titles, e.g. 'connecticut church'. Leave empty to browse what is there. | |
| refresh | No | Re-fetch the catalogue rather than use the cached copy. Takes about ninety seconds; only needed when looking for a collection published since the cache was built. |