Skip to main content
Add one article to Quivr, then find it twice. First search for a word in the article, then describe the same idea in your own words. Launch Quivr and keep its API address and key in this shell as QUIVR_API_URL and QUIVR_API_KEY. You need curl, jq and a key with corpora:read, corpora:write, content:read, content:write and search:query access. The local launch paths give you that key.
1

Create a collection

A collection groups documents you want to search together. The API calls it a Corpus. Create a collection named News.
Replace <corpus_id> with the value returned above.
2

Add an article

Send the article as plain text. Quivr calls each document a Record. The namespace names the source in the collection and the record_key identifies the article in that source.
Quivr returns a receipt when it accepts the article. Replace <receipt_id> with the returned value so you can check when it becomes searchable.
Run the receipt command again until searchable is true.
3

Find the word eclipse

Use lexical mode to find the word eclipse in the News collection.
The hit gives you the article’s ID, the section it matched, and the text from that section.
4

Find the same idea

Use semantic mode to search by meaning with the phrase the moon blocked the sun.
Look for the same article ID. While Quivr prepares the article for meaning search, you may see an empty list or an HTTP 422 (unsupported_search). Give the background worker a moment to finish and run the search again.

What you built

You have a collection with one searchable article. You can leave it in place and rerun the same requests. The request keys (idempotency_key) let Quivr return the same collection and receipt when you send the same requests again.

Connect a source

Bring in new documents automatically.

Set an alert

Get notified when a new document matches a topic.

Browse plugins

See which sources, file formats and search tools you can add.