Bulk Search

Prepare a ranked list of 1,000 to 10,000 documents for one question as a background job, for the long tail.

Explanation

Prepares a long ranked list of 1,000 to 10,000 source documents for one question from the NOSIBLE Web Search index, as a background job. Use it when you need the long tail of the ranking rather than its first page, such as to study every document on a topic.

POST/search/v2/bulk-search

Request

Authorizations

apiKey
Api-Keystringrequiredheader

Your NOSIBLE API key.

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?

n_resultsintegerbody

Number of results to prepare. Bulk Search accepts 1,000–10,000 and returns an encrypted download rather than inline results.

Example: 1000

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 long-running task was accepted.

Example: Slow search task accepted.

download_fromstring

Short-lived object-store URL for the encrypted result file. Download it only from a trusted worker and do not log or share it.

Example: https://s3.eu-west-1.wasabisys.com/...

decrypt_usingstring

Fernet key material required to decrypt the downloaded bytes before Zstandard decompression. Treat it as a secret and destroy it after use.

Example: base64-encoded-key

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.