aleph_search
Search people, companies, documents, and other entities across all accessible Aleph datasets. Get compact entity summaries with IDs and optional facets showing country or dataset clusters.
Instructions
Search entities (people, companies, documents, ...) across every Aleph dataset you can read. This is the main entry point. Returns compact summaries with entity IDs to pass to the other tools. Request facets to see which countries or datasets the matches cluster in.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Results per page (1-200). | |
| query | Yes | Free-text query. Supports quoted phrases ("Igor Ivanov"), boolean AND/OR/NOT and wildcards (gazprom*). | |
| facets | No | Aggregate the result set by these fields, e.g. ['countries', 'schema', 'collection_id', 'names', 'addresses']. | |
| offset | No | Skip this many results, for paging. | |
| schema | No | Restrict to one followthemoney schema and its descendants, e.g. Person, Company, LegalEntity, Document, Address. Defaults to Thing (all real-world things). Use aleph_get_schema_info to list them. | |
| countries | No | Two-letter ISO country codes, e.g. ['ru', 'cy']. | |
| highlight | No | Include matching text snippets for each hit. | |
| collection_ids | No | Restrict to these collection (dataset) IDs. |