Search records with filters
search_recordsSearch the archive with filters for collection, entity, content type, island and year. Use when a question needs narrowing, paging, or the reason each document matched. Searches the full extracted text of the archive's documents, plus their catalogue records. Filters use the same vocabulary as the website's own facets. Every result carries a tier, a plain reason and the search terms it actually matched; there is no numeric relevance score. The tiers: exact = every term, found in the document's title or issuing entity (likely about the subject); strong = every term, in the text only (it mentions them); possible = at least half the terms; weak = fewer. When no document contains all the terms, results contain some of them and the response says so, and 'matched' lists which. Not covered: the archive's newspapers (the St. Croix Avis, The West End News, Home Journal and the St. Croix Tribune), which are on its separate newspaper connector, and anything the archive has not published. Withheld and withdrawn documents are absent, not hidden.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Default 10, maximum 50. | |
| query | Yes | Plain language is fine. Quote a phrase to require it intact. | |
| entity | No | The issuing or subject body, exactly as recorded, e.g. "Water and Power Authority". Recorded on only part of the archive; archive_stats gives the share. | |
| island | No | e.g. "St. Croix", "St. Thomas", "St. John" | |
| offset | No | Results to skip, for paging. Results are ranked within the best 120 documents. | |
| year_to | No | Latest year, inclusive. The year_from note on dates applies. | |
| year_from | No | Earliest year, inclusive. Filters on the date the archive recorded, whose provenance varies by source: for most documents it is the date on the document, for some it is when the source posted the file. A year range can therefore miss a document executed in one year and posted the next, so it narrows rather than guarantees. | |
| collection | No | e.g. "Courts", "Audits & Oversight" | |
| content_type | No | The kind of document, exactly as recorded, e.g. "government-audit". An unknown value returns the nearest values that exist. |