search
Find genealogy records across people, families, events, places, sources, and more using full-text or semantic queries with filters and pagination.
Instructions
Full-text (or semantic) search across the Gramps tree. Read-only.
Hits the search index: type-ahead style queries for people, families,
events, places, sources, citations, repositories, media and notes. type
is a comma-delimited allowlist of object types; query is required. Use
manage_<type> with a get/filter instead when you already know the handle
or want raw object data.
Args: query: The search string (required). type: Comma-delimited object types to include, e.g. "person,family,source". page: 1-based result page. pagesize: Results per page (default 20). sort: Comma-delimited sort keys; "change" or "type", '-' prefix for descending (e.g. "-change"). profile: Comma-delimited profile sections: all,self,age,span,events, families,references. strip: If true, drop empty-valued keys from hits. semantic: If true, use the vector/semantic index instead of full text. change: ISO-8601 last-change filter, prefix with '>' or '<'. locale: Language code for localized profile output. instance: Gramps Web base URL from get_instances; default = first.
Returns: dict: {"status", "url", "data": [hits], "total": }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| sort | No | ||
| type | No | ||
| query | Yes | ||
| strip | No | ||
| change | No | ||
| locale | No | ||
| profile | No | ||
| instance | No | ||
| pagesize | No | ||
| semantic | No |