

Prerequisites
- A running Quivr with the RSS plugin enabled. Set
QUIVR_API_URLandQUIVR_API_KEY. In the local stack, runeval "$(make -s env)". - A key with
connectors:readandconnectors:writeon the target collection, andcontent:readandsearch:queryto find the collected articles. - A collection ID in
CORPUS_ID. If you need to create a collection, use a key withcorpora:writeand access to all collections. - A feed URL reachable from the RSS plugin, and Bash,
curlandjq. Runcommand -v curl jqto check the tools.
Create an instance
1
Choose a connector
List the connector kinds the deployment enables. Each kind supplies a schema for its settings and credentials. Check that For example, a deployment with a 30-second minimum and credential deposits enabled prints this.Set
rss appears.MIN_INTERVAL to the number your deployment returns.2
Create an RSS instance
An instance is one configured connection. Replace the placeholder with your RSS or Atom URL before running the creation request.Use one source label (Export the returned
source_namespace) per feed in the collection. The example checks every 300 seconds or uses the deployment’s minimum from the previous step if it is higher.connector_id as CONNECTOR_ID.3
Check the run and find the articles
The first run is due immediately. Read the instance and check Once the run succeeds and processing finishes, look for collected titles using Search, with
last_success_at. If the run fails, last_error names the cause."filter": {"source_namespaces": ["city-news"]}.What happened
The connector turns each feed item into a document. A checkpoint is the position or source state it saves after collecting, so it can continue on later runs. Quivr reuses the same document identity for an item it sees again. An edited item can produce a new Version. RSS only carries recent items, so an item falling off the feed stays in Quivr. For source kinds that report withdrawals, Quivr removes withdrawn items from search. To see your configured instances, list them. The response contains the instances this key can read.Credentials
For a protected feed, ask your operator to enable credential deposits. Supply acredential.secret object when you create the instance. RSS accepts either username and password for Basic authentication or token for bearer authentication. Your operator can help you get these values from the source. Reads show the credential’s version and expiry. Use PUT /v0/connectors/{connector_id}/credential to rotate it.
Pause and resume collection
Pause scheduled collection withPOST /v0/connectors/{connector_id}/pause and resume with POST /v0/connectors/{connector_id}/resume. Both take an idempotency_key. Resuming continues from the last saved checkpoint. Pausing leaves push deliveries enabled. During an upgrade, wait for previous workers to stop before pausing an instance.
Disable an instance
Use this to clean up the RSS example. Disabling is permanent and the articles already collected stay searchable. To withdraw an article, submit a withdrawal for its source label and Record Key.Other sources
Microsoft 365 mail
For a real deployment, pin Microsoft 365 mail and use kindm365_mail. The local stack points to a fake Microsoft Graph endpoint.
Microsoft 365 steps
Register an application in Microsoft Entra and ask your Exchange administrator to scope itsApplication Mail.Read role to the mailboxes you collect. Use Exchange application RBAC to assign the role with a resource scope. Run Test-ServicePrincipalAuthorization with the application identity and an in-scope mailbox, then with a mailbox outside the scope. Confirm that the first is in scope and the second is denied. An additional tenant-wide read grant would bypass the scope.
Set config.tenant_id to the directory ID, config.mailbox to the mailbox’s user principal name or object ID, and optionally config.folder to the folder to read. Deposit client_id with either client_secret or certificate_pem and private_key_pem in credential.secret. Set credential.expires_at to get an expiry warning.
Rotate the secret
SendPUT /v0/connectors/{connector_id}/credential with a new idempotency_key, the replacement secret object and its expires_at. The next run uses the new credential. Check the instance’s health after it runs.
Use the connector kind catalog to check the settings and credential schema before creating an instance.
X lists
Pin X lists and use kindx_list with the list ID in config.list_id and your app’s bearer_token in credential.secret. The plugin can withdraw posts it finds deleted or protected during its recent-post recheck window. Withdraw older removals yourself.
Real-time mode
For push delivery, the API also needs the plugin pinned and a public URL. Deposit the app’s consumer secret alongside the bearer token and setconfig.webhook.enabled to true. The instance returns its webhook_url. In health.push.state, pending means setup is underway, active means deliveries have arrived and degraded means polling took over. See Receive and secure pushes.
Import archives
Use Object storage archive to read documents inside ZIP or tar.gz objects.Choose the member identity
The Record Key groups revisions of one document. Quivr keeps the Version with the highest numeric source position current. By default the connector uses the decoded basename as the key and the member’s order in the import as its position. If the archive order differs from the revision order, capture the revision number from each path. For example, configure these patterns for member names such asurn%3Aexample%3AITEM7-12.xml and urn%3Aexample%3AITEM7-3.xml. The connector URL-decodes the name before matching. Both names produce the key ITEM7, and revision 12 stays current.
Configure and start the source
Use the instance creation request with kindobject_storage_archive. Set the bucket, region and prefix in config and specify the media type of the files inside the archive. Check that the deployment has a reader for that media type, such as NewsML-G2. Set work_queue: "bulk" at the request’s top level for a historical import. Deposit read-only storage credentials in credential.secret.
Read progress and resume
Checkhealth.diagnostics for the current archive, member_offset and members_done. To stop temporarily, pause and resume the same instance so it continues from the last committed checkpoint. Disable the instance when you are done collecting.
Pair media with metadata
Use Object storage prefix withsidecars when metadata arrives in a separate file. Only the connector receives the storage credential. Normalizers receive engine-signed references to verified Blobs.
Configure the connector
Use kindobject_storage_prefix with your bucket and region. Deposit a credential that can list the prefix and read its objects. This example configuration pairs feed/binary/abc_hr.jpg with feed/2026/01/02/abc-1.xml when the XML’s remoteContent points to that JPEG. The regular expression gives both object names the Record Key abc.
sidecars.wait_seconds to cover the expected delay. With the default of zero, Quivr ingests the metadata immediately and leaves later media unpaired.
Next
- Search collected articles by keyword or meaning.
- Follow changes to watch for updates.