Skip to the content

Run a saved search

POST /v1/saved_searches/{scope}/{name}

Runs the saved search and returns its first page, exactly like POST /v1/search.

The body is optional. Each field of its parameters replaces the saved one, whole, for this run only; the saved search itself is not changed. This is mainly for from and to, for anyone who would rather not store date math, and for counting what a saved search finds: with "parameters": {"pageSize": 0, "histograms": {"time": {}}, "dateField": "published"} the run returns its hits over time by publication date, without a page.

Date math is evaluated when the search runs, so a saved search that mixes it with a fixed date can come to name an empty time frame ("from": "now-7d" with "to": "2026-10-01", run in the middle of October). That run is refused with 400, like any search whose from is not earlier than its to, and errors points at /parameters/to, as though the body had sent the saved parameters. To run it again, save it with a from and to that cannot cross, or send both in parameters with this run.

Request

Path

The scope the saved search lives in: account for your own, organization for one shared in your organization (see Saved searches and scopes).

The saved search's name: 1 to 64 letters, digits, _ and -, in any script, so sector1 and 半导体 are both valid. Names are case-sensitive, and are compared after Unicode NFC normalization. As a URL path segment, non-ASCII characters are percent-encoded, as any HTTP client does for you.

Example: sector1prod_sector1半导体

Body

parameters

What to search for, as a term expression (see Search terms). To search for a text literally, put a backslash before every " and \ in it and wrap it in double quotes. Optional: without it, a search finds every document that passes its filters, newest first (see Searching without a term). How long it may be depends on your organization's agreement. A term that does not parse is refused with 400, and each mistake's span marks where it is (see problem types).

Example: STI半导体 || semiconductor"R&D \"A\"\\B"Syntax: Term expressions

strategystring

How the term is matched and ranked. Required with term, and refused without one.

  • headline: the term must match the headline.
  • body: the term must match the headline or the body, and a match in the headline ranks higher.

Each text in the term is matched in one language. A text with a Chinese character in it is matched against the Chinese: zh.headline as the headline, the Chinese text as the body, including Chinese text that hidden says is left out. Any other text is matched against the English: en.title as the headline, en.summary as the body, since there is no English full text.

With both, relevance falls off with the distance of the chosen date (dateField) from to. Neither strategy changes significantly or is removed in /v1. New strategies may be added.

typeInlist of strings

Only documents of these kinds. Without it, all kinds.

levelInlist of strings

Only documents issued at these levels. Without it, all levels.

Only documents from these issuers. Without it, all issuers.

0 of 426 chosen
topicInlist of strings

Only documents on these topics. Without it, all topics.

The earliest instant of the chosen date (dateField) to include (inclusive). Defaults to now-7d. How far back it may reach depends on your organization's agreement, and whatever dateField says, a search never finds a document whose date lies before that.

Example: now-7d/d2026-09-032026-09-03T00:00:00+08:002026-09-03+Mnow[Europe/Berlin]-M/M2025-01-01[Asia/Shanghai]Syntax: Instant expressions

The instant of the chosen date (dateField) to stop before (exclusive). Defaults to now. It has to be later than from, whether either was sent or defaulted, or the request is refused with 400 (see Dates and time zones). How far ahead it may reach depends on your organization's agreement.

Example: now-7d/d2026-09-032026-09-03T00:00:00+08:002026-09-03+Mnow[Europe/Berlin]-M/M2025-01-01[Asia/Shanghai]Syntax: Instant expressions

dateFieldstringdefault date

Which of a document's dates from and to filter on and the time histogram counts. date is the one date each document is treated as having. The others are the members of dates, and each finds only documents that have that date. The ranking uses the chosen date too (see strategy and Searching without a term).

How many summaries each page of a search holds. With 0, a search returns hits and the histograms asked for, no summaries, and no next.

histogramsobject

The histograms to return with the first page, each named with its options: {"time": {}, "level": {}}. It names at least one; for none, leave it out. They cost more than the page itself, so ask only for those you use.

Responses

200 · Success

The first page of results.

Where a document's field comes from: From the source from the source page, AI generated machine-generated, Assigned assigned by ReConnect China. What a document tells you

  • hitsinteger, at least 0

    How many documents match the search in total. Each histogram adds up to this number. It comes with the first page only.

  • summarieslist of objects

    One page of results, most relevant first. Without a term, newest first by the chosen date (dateField).

  • idstringAssigned

    A document's id, assigned by ReConnect China, the same one reconnectchina.org uses: the path segment after /items/ in rc. Use it as it is; its format is not part of this contract.

  • rcstringAssigned

    Assigned by ReConnect China: the document's page on reconnectchina.org. The last part of the link is derived from the English title (en.title) once, when the page first appears, and kept from then on: a link keeps working when the title is later revised.

  • attributionstringAssigned

    Assigned by ReConnect China: a ready-made attribution for this document, to publish next to anything derived from it.

  • sourcestringmay be absentFrom the source

    From the source website: the page to link to for this document, the one that presents it. A document can draw on more than one page, such as a listing that gives its document number; this is the page to send a reader to. Absent when there is no such page that can be linked to.

  • typestringAI generated

    The kind of document, machine-generated by our classifier from the document itself: law/decree (法, 令, 条例), regulation (规定, 办法, 细则), notice/announcement (通知, 公告, 通报), opinion/plan (意见, 规划, 方案, 纲要), news (news and reports), leaders (about the activities of leading officials), and other: anything else, including documents that have not been classified yet. A document can therefore move from other to another kind once it is classified, and a kind can change when the classifier improves.

    A fixed set for the lifetime of /v1.

  • levelstringAI generated

    The administrative level a document was issued at, machine-generated by our classifier from the document itself: centre (the State Council, the Party centre and the ministries), provinces (provincial-level units, including the four municipalities with province rank), cities (municipal and county governments), and other for documents that have not been classified yet.

    This is the level the reconnectchina.org search filters by. It is not derived from issuer: a city may repost a central document, which is then centre.

    A fixed set for the lifetime of /v1.

  • topicstringAI generated

    What a document is about, machine-generated by our classifier from the document itself. other covers everything else: documents on a topic we do not publish, documents that have not been classified yet, and any topic a later classifier adds. A document can therefore move from other to a topic once it is classified, and a topic can change when the classifier improves.

    A fixed set for the lifetime of /v1.

  • issuerstringAI generated

    An issuer, one of those issuerIn takes (machine-generated). The list may grow: handle a name you do not know rather than failing on it.

  • datestringAssigned

    The one date the document is treated as having, an instant in UTC, chosen by ReConnect China from its dates. from and to filter on it, the time histogram buckets it and the ranking uses it, unless dateField names another date. How far back a search reaches is always measured on it. It is one of the dates in dates, the publication date when the page gives one, and dateKind says which. When the source page gives no date at all it is when we collected the document, which is an approximation and can be later than the document's own date.

  • dateKindstringAssigned

    Which entry of dates we took the document's date from. A fixed set for the lifetime of /v1.

  • datesobject

    Every date the document has, each an instant in UTC. The first three are printed on the source page, and each is absent when the page does not give it; only added is always there. Summaries and detail carry the same set, so a search result already holds every date the document has.

  • publishedstringmay be absentFrom the source

    When the document was published (发布日期, 公布日期), from the source page. For presentation to users, prefer formatting in China Standard Time.

  • issuedstringmay be absentFrom the source

    When the document was written or signed (成文日期), from the source page. For presentation to users, prefer formatting in China Standard Time.

  • implementedstringmay be absentFrom the source

    When the document comes or came into effect (施行), from the source page. For presentation to users, prefer formatting in China Standard Time.

  • addedstringAssigned

    When we first collected the document, stamped by us rather than printed. It says the document existed by then, not when anyone last looked at the source page.

  • documentNumberstringmay be absentFrom the source

    From the source page, the official document number (文号) as printed, e.g. 云政办发〔2024〕27号. Not unique: a document reposted by several websites carries the same number in each copy, so it can find copies, while id identifies one. Absent for documents that carry none, such as news.

  • enobject

    English, machine-generated.

  • titlestringAI generated

    A title in English, machine-generated: one line that names the document. A language model writes it from the Chinese headline and text, so it is not a translation of zh.headline line by line. It is often shorter than the headline, but no length is promised. It can change when the model improves.

  • summarystringmay be absentAI generated

    A summary of the text, machine-generated, as the summarizer wrote it. It can run to several paragraphs and contain lists, and its line breaks carry that structure, so show it with them kept. It may use light markup in the manner of Markdown, but no particular markup language is promised. Absent until summarization has run, and for documents without text to summarize.

  • zhobjectmay be absent

    Chinese, as published. Each field is absent when it is left out (see hidden), and zh itself when all of them are.

  • headlinelist of stringsmay be absentFrom the source

    From the source page, the headline as published, one entry per line.

  • teaserstring, up to 160 charactersmay be absentFrom the source

    From the source page: the start of the subtitle and text, at most 160 characters, ending in … when cut. The full text is the detail's zh.body.

  • hiddenlist of objectsmay be absentAssigned

    Assigned by ReConnect China: the fields this document has that are left out of this answer, each with the reason. Absent when nothing is left out. A field named here is absent from the document; a field that is absent and not named here is one the document does not have (see Fields left out in the introduction).

  • fieldstring

    The field left out, as its path in the document with a dot between names, e.g. zh.headline.

  • reasonstring

    Why it is left out. agreement: your organization's agreement does not include this field for this document. More reasons may be added: treat one you do not know as left out all the same.

  • histogramsobjectmay be absent

    Absent when the request named no histograms.

  • timelist of objectsmay be absent

    Hits per period of the chosen date (dateField), in time order. The period follows the searched range: a day for up to 92 days, a month for up to twenty years, a year beyond that. Every period of the range is there, an empty one with 0, and each bucket states its own bounds, in UTC. The periods are days, months or years in the time zone the request names in histograms.time.timeZone, UTC by default (see Dates and time zones in the introduction). The first starts at from and the last ends at to, so either is part of a period when the range does not begin or end where a period does.

  • fromstring

    The start of the period (inclusive).

  • tostring

    The end of the period (exclusive).

  • hitsinteger, at least 0
  • issuerlist of objectsmay be absent

    Hits per issuer.

  • issuerstringAI generated

    An issuer, one of those issuerIn takes (machine-generated). The list may grow: handle a name you do not know rather than failing on it.

  • hitsinteger, at least 0
  • levellist of objectsmay be absent

    Hits per administrative level (machine-generated, see level).

  • levelstringAI generated

    The administrative level a document was issued at, machine-generated by our classifier from the document itself: centre (the State Council, the Party centre and the ministries), provinces (provincial-level units, including the four municipalities with province rank), cities (municipal and county governments), and other for documents that have not been classified yet.

    This is the level the reconnectchina.org search filters by. It is not derived from issuer: a city may repost a central document, which is then centre.

    A fixed set for the lifetime of /v1.

  • hitsinteger, at least 0
  • topiclist of objectsmay be absent

    Hits per topic (machine-generated, see topic).

  • topicstringAI generated

    What a document is about, machine-generated by our classifier from the document itself. other covers everything else: documents on a topic we do not publish, documents that have not been classified yet, and any topic a later classifier adds. A document can therefore move from other to a topic once it is classified, and a topic can change when the classifier improves.

    A fixed set for the lifetime of /v1.

  • hitsinteger, at least 0
  • nextstringmay be absent

    Opaque. Absent when there is nothing more, and when paging stops early, which truncated then says (see Paging). Send it back unchanged, from the account that received it. It expires, at the earliest one hour after its search's first request.

  • truncatedobjectmay be absent

    On the last page of a search that matches more than paging will deliver: this page carries no next, but it is not the end of the matches. Absent on every other page, so a page without next and without truncated is the end of the matches (see Paging).

  • reasonstring

    Why paging stops here. depth: the search has reached the depth your organization may page to (agreement.depth in GET /v1/me); to reach the rest, narrow the search. More reasons may be added: treat one you do not know as "there is more" all the same.

Errors

Every error is a problem document with the fields below. Its type names the problem, and is the address of the problem's page.

400invalid-request

The request is not valid (invalid-request): a path that cannot be read, a body that is not JSON or does not match the schema, an unknown field, a from or to that is not a valid instant expression (an unknown time zone, or a time of day the zone skips, included), a from that is not earlier than to, a term that does not parse or is longer than your organization's agreement allows, an unknown issuer, a scope in the body that does not exist, or a saved search's name that breaks the naming rule. errors names each offending part: a pointer into the body (for the run of a saved search, into parameters as it ran), or the parameter of the path (see problem types).

401unauthenticated

No access token, or one that is invalid or has expired (unauthenticated). Refresh the access token and try again.

403no-organizationmultiple-organizationsorganization-not-registerednot-entitledaccess-endedtier-served-elsewhererange-not-entitledscope-not-entitledsuspended

The account may not do this. type says why: a refusal every operation can meet (no-organization, multiple-organizations, organization-not-registered, not-entitled, access-ended, tier-served-elsewhere or suspended, see Problem types), the search reaches further than the organization's agreement allows (range-not-entitled, with the earliest allowed from in earliestFrom, the latest allowed to in latestTo, and an errors entry pointing at each end at fault), or the organization's agreement, or this server, does not include the scope (scope-not-entitled).

404saved-search-not-foundscope-not-found

There is no saved search of that name in that scope (saved-search-not-found), or the scope in the path is not one you can use (scope-not-found).

413payload-too-large

The request body is too large (payload-too-large).

415unsupported-media-type

The request body is not application/json (unsupported-media-type).

429rate-limited

Too many requests, or too many at the same time (rate-limited), from your account, your organization, or your network address. Wait for Retry-After seconds, then send the same request again.

  • Header Retry-After

    How many seconds to wait before sending the same request again.

431headers-too-large

The request's headers are too large (headers-too-large). An access token is far below the limit, so look for a header your client adds.

500internalsaved-search-invalid

The API failed to answer the request (internal), or the saved search no longer validates (saved-search-invalid). Both are our fault, and we are alerted.

503unavailable

The API is temporarily unavailable (unavailable), because our servers are under pressure or briefly out of service. Wait for Retry-After seconds, then send the same request again.

  • Header Retry-After

    How many seconds to wait before sending the same request again.

Any otherinternal

Any other error, as a problem document. Includes internal (500), a failure on our side.

A problem document's fields

  • typestring

    Identifies the problem; branch on this. One of the problem types under https://api.reconnectchina.org/docs/v1/problems/, named in each response's description and its x-problem-types, and listed in Problem types, for example https://api.reconnectchina.org/docs/v1/problems/continuation-expired. The URL is also the type's documentation.

  • titlestring

    A short, human-readable summary of the problem type.

  • statusinteger

    The HTTP status code.

  • detailstringmay be absent

    A human-readable explanation of this occurrence.

  • errorslist of objectsmay be absent

    For invalid-request, each part of the request that is not valid, and for range-not-entitled, each end of the range that reaches too far. Each names the part in exactly one way: pointer for a part of the body, parameter for a part of the path. A part with several mistakes in it, such as a term, has an entry for each, and span says where in it each one is.

  • parameterstringmay be absent

    The name of the path parameter, as this document names it, for example name in /v1/saved_searches/{scope}/{name}.

  • pointerstringmay be absent

    A JSON Pointer (RFC 6901  on another website) into the request body, for example /levelIn/0. Empty for the body as a whole. For the run of a saved search, it points into the search as it ran, as if the body had been {"parameters": …} with the saved parameters and your overrides: /parameters/from whether from was saved or sent.

  • spanobjectmay be absent

    Where in a string a problem is: the characters from start up to, not including, end, counting from 0. Characters are Unicode code points, as maxLength counts them, so 低空经济 is four; a program that marks text in another unit converts, such as a browser, whose strings count a character outside the Basic Multilingual Plane as two. Equal start and end mark the place where something is missing, such as the end of a term that stops after &&.

  • startinteger, at least 0
  • endinteger, at least 0
  • detailstring
  • earliestFromstring, up to 128 charactersmay be absent

    For range-not-entitled, the earliest from your organization may use, as an instant expression such as now-1y or 1900-01-01.

  • latestTostring, up to 128 charactersmay be absent

    For range-not-entitled, the latest to your organization may use, as an instant expression such as 3000-01-01.

  • serverstringmay be absent

    For tier-served-elsewhere, the server of this API that your account may use, one of servers, such as https://sandbox.api.reconnectchina.org.

Language
page = client.run_saved_search("{scope}", "{name}")
curl -X POST 'https://api.reconnectchina.org/v1/saved_searches/{scope}/{name}' \
  -H "Authorization: Bearer $TOKEN"
const page = await client.runSavedSearch("{scope}", "{name}");

client is logged in as on Logging in, or made from a saved token.

  • scope is not filled in.
  • name is not filled in.
to api.reconnectchina.org

Example response · 200 · Hits per day, no page

{
"time": [
{
"from": "2026-09-02T00:00:00Z"
"to": "2026-09-03T00:00:00Z"
}
{
"from": "2026-09-03T00:00:00Z"
"to": "2026-09-04T00:00:00Z"
}
{
"from": "2026-09-04T00:00:00Z"
"to": "2026-09-05T00:00:00Z"
}
{
"from": "2026-09-05T00:00:00Z"
"to": "2026-09-06T00:00:00Z"
}
{
"from": "2026-09-06T00:00:00Z"
"to": "2026-09-07T00:00:00Z"
}
{
"from": "2026-09-07T00:00:00Z"
"to": "2026-09-08T00:00:00Z"
}
{
"from": "2026-09-08T00:00:00Z"
"to": "2026-09-09T00:00:00Z"
}
{
"from": "2026-09-09T00:00:00Z"
"to": "2026-09-10T00:00:00Z"
}
{
"from": "2026-09-10T00:00:00Z"
"to": "2026-09-11T00:00:00Z"
}
{
"from": "2026-09-11T00:00:00Z"
"to": "2026-09-12T00:00:00Z"
}
{
"from": "2026-09-12T00:00:00Z"
"to": "2026-09-13T00:00:00Z"
}
{
"from": "2026-09-13T00:00:00Z"
"to": "2026-09-14T00:00:00Z"
}
{
"from": "2026-09-14T00:00:00Z"
"to": "2026-09-15T00:00:00Z"
}
{
"from": "2026-09-15T00:00:00Z"
"to": "2026-09-16T00:00:00Z"
}
{
"from": "2026-09-16T00:00:00Z"
"to": "2026-09-17T00:00:00Z"
}
{
"from": "2026-09-17T00:00:00Z"
"to": "2026-09-18T00:00:00Z"
}
{
"from": "2026-09-18T00:00:00Z"
"to": "2026-09-19T00:00:00Z"
}
{
"from": "2026-09-19T00:00:00Z"
"to": "2026-09-20T00:00:00Z"
}
{
"from": "2026-09-20T00:00:00Z"
"to": "2026-09-21T00:00:00Z"
}
{
"from": "2026-09-21T00:00:00Z"
"to": "2026-09-22T00:00:00Z"
}
{
"from": "2026-09-22T00:00:00Z"
"to": "2026-09-23T00:00:00Z"
}
{
"from": "2026-09-23T00:00:00Z"
"to": "2026-09-24T00:00:00Z"
}
{
"from": "2026-09-24T00:00:00Z"
"to": "2026-09-25T00:00:00Z"
}
{
"from": "2026-09-25T00:00:00Z"
"to": "2026-09-26T00:00:00Z"
}
{
"from": "2026-09-26T00:00:00Z"
"to": "2026-09-27T00:00:00Z"
}
{
"from": "2026-09-27T00:00:00Z"
"hits": 17
"to": "2026-09-28T00:00:00Z"
}
{
"from": "2026-09-28T00:00:00Z"
"to": "2026-09-29T00:00:00Z"
}
{
"from": "2026-09-29T00:00:00Z"
"to": "2026-09-30T00:00:00Z"
}
{
"from": "2026-09-30T00:00:00Z"
"to": "2026-10-01T00:00:00Z"
}
{
"from": "2026-10-01T00:00:00Z"
"to": "2026-10-02T00:00:00Z"
}
]
}
"hits": 123
}