Time Search

Run the same search over consecutive time intervals to get a historical series of documents per hour, day, week or month.

Explanation

Runs the same relevance search independently over consecutive publication-time intervals of the NOSIBLE Web Search index, producing a historical series of documents. Use it when you need documents per hour, day, week or month across a long range, such as how reporting changed over a year.

POST/search/v2/time-search

Request

Authorizations

apiKey
Api-Keystringrequiredheader

Your NOSIBLE API key from the API Dashboard.

Example: nos_sk_...

Body

application/json
questionstringrequiredbody

The question the search should answer. Required: 1–500 characters; a request without it is rejected with 422.

Example: What is driving AI chip demand?

startdate-timerequiredbody

Inclusive timezone-aware start of the range.

Example: 2023-01-01T00:00:00Z

enddate-timerequiredbody

Exclusive timezone-aware end of the range.

Example: 2024-01-01T00:00:00Z

frequencystringbody

Positive interval such as 3h, 1d, 1w, or 1mo. A maximum of 500 buckets may be requested.

Example: 1d

sortenumbody

Chronological ordering of interval searches: ascending or descending.

Example: ascending

require_timezonebooleanbody

Only return documents whose indexed publication timestamp includes a source timezone.

Example: false

n_resultsintegerbody

Maximum results returned per interval search; bucket count multiplied by this value may not exceed 50,000.

Example: 25

n_probesintegerbody

Number of shards searched, from 5 to 300. Defaults to one per 8 buckets, between 10 and 60 (46 for a year of daily buckets), because narrow buckets need more shards to fill.

Example: 46

n_contextifyintegerbody

Context words returned per result, from 128 to 1024.

Example: 128

include_livebooleanbody

Also search pending documents in the selected shards' queues for fresher results. Defaults to false (indexed shards only). Send a JSON boolean: true or false.

Example: true

instructionstringbody

Instruction passed to the embedding mode. Keep it short and purposeful; it is not a replacement for the question.

Example: Retrieve evidence about semiconductor demand.

expansionsstring[]body

Up to 10 semantically or lexically related formulations that broaden recall without changing the underlying intent.

Example: ["AI accelerator demand", "data-center GPU spending"]

sql_filterstringbody

Optional SQL expression over indexed document metadata. Common columns include netloc, published, modified, visited, words, and chars.

Example: SELECT loc FROM engine WHERE words >= 30

algorithmenumbody

Scoring algorithm. hybrid-3 is the recommended default for general-purpose retrieval.

Example: hybrid-3

min_similaritynumberbody

Reject results below this similarity threshold. Must be between 0 and 1; it is a score threshold, not a probability.

Example: 0.35

must_includestring[]body

Terms that must appear in each result. Use sparingly: every additional hard constraint can reduce recall.

Example: ["NVIDIA"]

must_excludestring[]body

Terms that must not appear in a result.

Example: ["job listing"]

brand_safetyenumbody

Content-safety class: Safe, Sensitive, or Unsafe.

Example: Safe

languageenumbody

Language of the page, as a lower-case ISO 639-1 code such as en, fr or de.

Example: en

continentenumbody

Continent filter for the indexed document.

Example: Europe

regionenumbody

Geographic region filter for the indexed document.

Example: Western Europe

countryenumbody

Country filter using the API's canonical country values.

Example: Germany

sectorenumbody

GICS sector filter.

Example: Information Technology

industry_groupenumbody

GICS industry-group filter.

Example: Semiconductors & Semiconductor Equipment

industryenumbody

GICS industry filter.

Example: Semiconductors & Semiconductor Equipment

sub_industryenumbody

GICS sub-industry filter.

Example: Semiconductors

iab_tier_1enumbody

IAB tier-1 content category.

Example: Business and Finance

iab_tier_2enumbody

IAB tier-2 content category.

Example: Industries

iab_tier_3enumbody

IAB tier-3 content category.

Example: Financial Industry

iab_tier_4enumbody

IAB tier-4 content category.

Example: Technology Industry

companiesstring[]body

Up to three company names used to refine retrieval.

Example: ["NVIDIA", "TSMC"]

collectionenumbody

Collection to search. everything searches the full available collection; this-week restricts to recently added data.

Example: everything

deduplicatebooleanbody

Deduplicate results that represent the same headline or story.

Example: true

Response

Response body

application/json

These are the fields you can build against. Nested names use dot notation; optional sections are called out in their descriptions.

messagestring

Acknowledgement that the asynchronous time-search task was accepted.

Example: Time search task accepted.

decrypt_usingstring

Fernet key used to decrypt the completed download.

Example: FERNET_KEY

download_fromurl

URL to poll until the encrypted result artifact is ready.

Example: https://storage.example.com/time-search/...

Responses and errors

HTTP
200Request succeeded. The body is shown in the response example.
401invalid_api_key — The key is missing, invalid or revoked. Send it in the api-key header: the Search API does not read Authorization: Bearer.
404search_route_not_found — The path is not a Search API route that nosible.world exposes.
405method_not_allowed — The route does not accept this HTTP method.
413request_too_large — The request body is larger than the proxy accepts.
422detail — A field is missing, out of range or of the wrong type, or the body is not valid JSON. The body is {"detail": [{loc, msg, type, input}]}, one entry per problem; enum errors list the allowed values.
400message — The sql_filter cannot run: it does not select FROM engine, names an unknown column, compares a column with the wrong type, or is not valid SQL. The body is {"message": "Invalid sql_filter: ..."}. Bulk and Time Search check the filter before the job is queued.
500message — Every shard the search needed failed. Retry. When only some shards fail, the results are returned and message says how many shards were skipped.
429rate_limited — The request exceeded the account's rate limit. Respect Retry-After when supplied.
502search_upstream_unavailable — The Search API could not be reached; retry shortly.
503api_key_auth_unavailable — API key authentication is temporarily unavailable; retry shortly.
503api_key_metering_unavailable — API key usage metering is temporarily unavailable, so the request was not served; wait for the Retry-After header (30 seconds) and retry.
504search_upstream_timeout — The Search API did not answer before the proxy deadline.
409bulk_search_in_progress — A bulk or time search is already queued or running for this API key; wait for its download before submitting another.
503message — No search worker received the job, so it was not accepted. Retry in a minute.