Find records
find_recordsFind records in the retained archive (documents, social hot-list observations, indicators) by literal text, publisher, reviewed topic (watch/topic) and UTC collection-day range; no ranking, no model. Same query, order and cursor as GET /api/datasets. Documents are one record per source URL with first_seen/last_seen, observation_count, version_count and change_type (new, newly_discovered, revised); seeing a URL again is never a new document. dataset=social with mode=topics returns one row per (platform, topic). Returns {items, row_count, next_cursor, as_of, coverage}. next_cursor is null at the end; pass it back unchanged with the same filters to continue. At most 20 rows per call. Absence from a page is not absence from the archive.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "find_records"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Every word must match the title, original title or publisher (Latin words at a word start, CJK as substrings; stopwords dropped; a "quoted phrase" is one term). | |
| to | No | Inclusive UTC collection day, YYYY-MM-DD. | |
| from | No | Inclusive UTC collection day, YYYY-MM-DD (first_seen for documents, captured_at otherwise). | |
| mode | No | raw (default) = one row per record or collection run; release = indicators only, one row per series and period; topics = social only, one row per (platform, topic) within the window (default 30 days, max 92). | |
| text | No | Documents only: records with approved original text. | |
| limit | No | Rows to return, at most the tool maximum; use next_cursor for more. | |
| topic | No | Alias of watch. | |
| watch | No | Reviewed topic filter (see list_watchlists): a title match on a listed bilingual term, nothing inferred. | |
| cursor | No | next_cursor from the previous page, with the same filters. Valid 24 hours. | |
| fields | No | Comma-separated field keys; default all. | |
| series | No | Indicators only: exact series_id such as cpi-yoy. | |
| source | No | Exact publisher label. | |
| dataset | No | Default documents. | |
| change_type | No | Documents only: new, newly_discovered (published more than 2 days before we first saw it) or revised (a changed body was observed). |