# Context pack: First steps

Source: https://nordvec.com/docs/guides/first-steps
Pack: https://nordvec.com/docs/packs/first-steps

This pack bundles one Nordvec guide with the guides it builds on and the guides it links to, in reading order, so an assistant reading it meets no reference it cannot follow.

## Contents

1. [First steps](https://nordvec.com/docs/guides/first-steps) (this guide)
2. [Authentication](https://nordvec.com/docs/guides/authentication) (linked from this guide)
3. [Webhooks](https://nordvec.com/docs/guides/webhooks) (linked from this guide)
4. [Documents & search](https://nordvec.com/docs/guides/concepts/documents) (linked from this guide)
5. [Conversations & citations](https://nordvec.com/docs/guides/concepts/conversations) (linked from this guide)
6. [Connectors](https://nordvec.com/docs/guides/connectors) (linked from this guide)
7. [Desktop app](https://nordvec.com/docs/guides/desktop) (linked from this guide)
8. [Reconnect a connector](https://nordvec.com/docs/guides/troubleshooting/reconnect-integration) (linked from this guide)

---

# First steps
Source: https://nordvec.com/docs/guides/first-steps

Create your account, add your documents and ask your first question with cited answers.

This guide takes you from an invitation to your first cited answer in
Nordvec. It is the same for a person who works alone and for a team: you
start in your own workspace and invite others when you are ready.

## 1. Create your account [#1-create-your-account]

Accounts are opened by invitation. Open the link in your invitation email. If
you have no account yet, the sign-in page opens: choose the
<UiLabel k="auth.createAccount" /> link below the form.

The form asks for your name, the invited email address and a password, and
two more things:

- The <UiLabel k="auth.capacityLabel" /> question: choose the
  <UiLabel k="auth.capacityConsumer" /> option for a private account, or the
  <UiLabel k="auth.capacityBusiness" /> option for a company, an association or
  a sole trader.
- The terms: accept the Terms of Service and the Privacy Policy, and confirm
  that you are at least 18 years old.

Nordvec then sends a confirmation link to your email address. Open the link to
confirm the account. It signs you in and opens your invitation, where you
choose the <UiLabel k="invite.accept" /> button.

Nordvec creates a workspace for you with the account, and you own it. It holds
your documents, conversations and connectors. You also belong to the workspace
that invited you. Once you belong to more than one workspace, the workspace
menu in the sidebar shows the current workspace's name, and you open it to
move between them.

## 2. Follow the checklist [#2-follow-the-checklist]

After you sign in, the chat opens with a checklist called
<UiLabel k="chat.gettingStarted.title" />. It has three steps and stays until
each step is done or you dismiss it:

1. <UiLabel k="chat.gettingStarted.connectSource" />
2. <UiLabel k="chat.gettingStarted.addDocument" />
3. <UiLabel k="chat.gettingStarted.askQuestion" />

You need only one of the first two steps before you can ask: either a
connector or an uploaded file gives Nordvec documents to answer from.

## 3. Add your documents [#3-add-your-documents]

### Connect a tool [#connect-a-tool]

Choose the <UiLabel k="chat.gettingStarted.connectSource" /> step in the
checklist to open the <UiLabel k="integrations.title" /> page. Pick a tool in
the <UiLabel k="integrations.availableSection" /> section, choose the
<UiLabel k="integrations.connect" /> button, and sign in to the tool with your
own account. Nordvec then imports your documents from it and picks up new and
changed documents on its own.

A connector belongs to the person who connected it. The documents it imports
stay visible only to you until you share them. Each tool has its own page in
the [connector catalogue](/docs/guides/connectors).

### Upload files [#upload-files]

Choose the <UiLabel k="chat.gettingStarted.addDocument" /> step to open the
<UiLabel k="files.title" /> page, then choose the <UiLabel k="files.upload" />
button and pick files on your computer. You can also drop files on the page,
or on the chat to add them to a conversation. The empty page and the drop area
list the file types Nordvec accepts and the size limit for each type.

A new document is ready to search once it has been indexed. Large files take
longer. See [Documents and search](/docs/guides/concepts/documents) for what
happens to a document after it arrives.

### Share a document [#share-a-document]

A document you add is private until you share it. Choose the
<UiLabel k="files.shareAction" /> action on the document to share it with a
member, a group or everyone in the workspace. A file synced from a tool that
keeps its own permissions is shared in that tool.

## 4. Ask your first question [#4-ask-your-first-question]

Type your question in the chat field, which reads
<UiLabel k="chat.placeholder" />, in the language you work in. Nordvec finds
the relevant passages in the documents you can see and answers from them.

Every answer names the documents it used as its sources. Open a source to read
the passage the answer used and check it yourself. If your documents do not
support an answer, Nordvec says so instead of guessing.

<Callout>
Answers are generated by AI and can contain mistakes. The sources are there so
you can verify each claim before you rely on it.
</Callout>

See [Conversations and citations](/docs/guides/concepts/conversations) for how
answers are built.

## If you use Nordvec on your own [#if-you-use-nordvec-on-your-own]

Nobody else is in your own workspace until you invite someone. The plans
and their limits are on [Pricing](/pricing). Open the
<UiLabel k="sidebar.settings" /> dialog and its
<UiLabel k="settings.dataPrivacy" /> tab to use the
<UiLabel k="settings.exportData" /> action or the
<UiLabel k="settings.deleteAccount" /> action at any time.

## If you use Nordvec at work [#if-you-use-nordvec-at-work]

Your workspace has its own page, named after the workspace, in the sidebar
next to your account. Which sections of the page you see, and which controls
inside them, depend on your role.

To invite a colleague, open the <UiLabel k="workspaceSettings.members" />
section and choose the <UiLabel k="workspaceSettings.inviteMember" /> button.
Enter the email address and pick a role:

- The <UiLabel k="workspaceSettings.inviteRoleAdmin" /> role manages the
  workspace and its members. Only the owner can invite an administrator.
- The <UiLabel k="workspaceSettings.inviteRoleMember" /> role works with the
  documents the workspace shares.

Choose how many days the invitation is valid for, then send it. The person
receives an email with a link to join. Every pending invitation holds a seat
until it is accepted, withdrawn or expires.

Administrators manage these sections of the workspace page:

- The <UiLabel k="workspaceSettings.groups" /> section collects members in
  groups, so you can share a document with a team in one step.
- The <UiLabel k="workspaceSettings.security" /> section holds the API keys
  and webhooks that connect your own systems. See
  [Authentication](/docs/guides/authentication) and
  [Webhooks](/docs/guides/webhooks).
- The <UiLabel k="workspaceSettings.dataRequests" /> section handles access and
  erasure requests from the people whose data the workspace holds.

Connectors stay personal in a company workspace too. A colleague's connected
mailbox is never visible to you, and an answer draws only on the documents
the person asking can open.

## Next steps [#next-steps]

- Choose the language Nordvec uses for you: open the
  <UiLabel k="sidebar.settings" /> dialog and its
  <UiLabel k="settings.general" /> tab, then use the
  <UiLabel k="settings.language" /> field.
- Sync a folder from your computer with the
  [desktop client](/docs/guides/desktop).
- If a connector stops syncing, see
  [Reconnect a connector](/docs/guides/troubleshooting/reconnect-integration).


---

# Authentication
Source: https://nordvec.com/docs/guides/authentication

Authenticate API requests with a workspace API key sent as a bearer token, and pick the key class and scopes a job needs.

A program calls the Nordvec API with an **API key**, sent as a bearer token in
the `Authorization` header.

```bash
curl https://nordvec.com/api/v1/documents/list \
  -H "Authorization: Bearer $NORDVEC_API_KEY"
```

Not every endpoint takes a key. Conversations, webhooks and key management
belong to a signed-in person and answer only to a session; the
[API reference](/docs/api) marks each operation with the credentials it accepts.

## Key classes [#key-classes]

A key is one of two classes, and its prefix says which:

| Class | Prefix | For |
| --- | --- | --- |
| Client | `nv_eu_live_` | Reading: search, list and fetch documents, quota, audit trail |
| Indexing | `nv_eu_idx_` | Writing: push, delete and re-permission documents, check ingestion |

## Scopes [#scopes]

A key carries one or more scopes, and an operation answers `403` to a key
without the scope it needs. A key can only carry scopes of its own class.

| Scope | Class | Allows |
| --- | --- | --- |
| `search:read` | Client | Search, list, fetch and batch-fetch documents |
| `quota:read` | Client | Embedding quota and usage analytics |
| `audit:read` | Client | Search the workspace's audit trail and read its event catalogue |
| `index:write` | Indexing | Push and bulk-push documents, update their permissions |
| `index:delete` | Indexing | Delete pushed documents |
| `index:status` | Indexing | Push status and ingestion health |
| `index:acl-widen` | Indexing | Make an already-restricted document visible to the whole workspace. A key with this scope must have an expiry |

Give each key the fewest scopes its job needs, so a leaked key can do as
little as possible.

## Creating a key [#creating-a-key]

Open your workspace's page, named after the workspace in the sidebar, then its
<UiLabel k="workspaceSettings.security" /> section, and choose the
<UiLabel k="workspaceSettings.createKey" /> button on the
<UiLabel k="workspaceSettings.apiKeys" /> card. Creating one needs the workspace
**owner** or **admin** role; on a personal workspace that is you. The **raw key
is returned exactly once** and is never retrievable afterwards, so copy it into
your secret store straight away.

A key belongs to the workspace, not to the person who created it. It reads
what the workspace shares: documents a person has connected but not shared stay
visible only to that person, and no key can see them. A key does stop working
once the person who created it, or last rotated it, leaves the workspace, so a
departing admin's keys do not outlive their access; an owner or admin who
rotates the key takes it over, and it works again.

A key's lifetime is 1 to 365 days, and a key created without one works for 365
days. Rotating a key starts its lifetime again from the day of the rotation.
A key can also carry an IP allowlist of up to 50 addresses or CIDR ranges.

A key no request authenticates with for 45 days, counted in UTC calendar days,
is disabled. After 38 days of disuse, the workspace's owners and admins get a
notice naming the key and the date it will be disabled; one request the key
authenticates before that date keeps it, and so does rotating it. A key that
expires before that date stops working at its expiry instead, and gets no notice
unless it has already gone 45 days unused. With no owner or
admin left to notify, the key is disabled at 45 days without a notice. A
request the key's IP allowlist refuses, or one refused because the key's creator
has left, is not authenticated and does not count. A disabled key never works
again, so create a new key for any application that still needs one.

## Rotating and revoking [#rotating-and-revoking]

<Callout type="warn">
Treat an API key like a password. If one leaks, rotate or revoke it immediately.
</Callout>

- The <UiLabel k="workspaceSettings.rotateKey" /> action replaces a key's credential in place. The previous credential keeps
  working for a grace window you choose: none, 15 minutes, 1 hour, 6 hours or
  24 hours (the default), so you can roll the new credential out to your
  services without downtime.
- The <UiLabel k="workspaceSettings.revokeKey" /> action disables a key immediately; it can no longer authenticate.

Both actions require a signed-in session (they are not themselves API-key
operations), so a leaked key cannot be used to rotate itself.

## Good practice [#good-practice]

- Store keys in a secret manager or environment variable, never in source code.
- Use a separate key per service or environment so you can revoke narrowly.
- Set an expiry on keys for CI and scripts.


---

# Webhooks
Source: https://nordvec.com/docs/guides/webhooks

Receive signed event notifications when documents are indexed, deliveries fail, or endpoints change state. Verification, retries, and testing.

Webhooks push event notifications to your systems as HTTPS POST requests, so
you can react to changes without polling. Register an endpoint on the
<UiLabel k="workspaceSettings.webhooks" /> card, in the
<UiLabel k="workspaceSettings.security" /> section of your workspace's page,
named after the workspace in the sidebar: the URL must use **HTTPS**, and each workspace can register
up to 10 endpoints. At creation you receive a **signing secret** (prefixed
`whsec_`, the Standard Webhooks format) exactly once; it is never retrievable afterwards, so copy it into your
secret store straight away.

Every delivery is a JSON body with the same envelope:

```json
{
  "event": "documents.indexed",
  "timestamp": "2026-07-23T09:14:07.000Z",
  "tenantId": "0198f2a4-6c1e-7d30-b6a1-2f9d54c08a11",
  "sequence": 42,
  "data": { "count": 12 }
}
```

A test event you send from the dashboard or the API also carries
`"test": true`; a real event never has the field.

Payloads are deliberately thin: ids, counts, and timestamps only. Treat a
webhook as a signal that something changed, then fetch the current state
through the [authenticated API](/docs/guides/authentication). Document names
and content never appear in a webhook payload.

`sequence` is a **per-endpoint** counter, dense for this endpoint's own
stream: consecutive events delivered to this endpoint carry consecutive
numbers, so a missing number means a delivery your service never received.
Delivery ORDER is not guaranteed, so use the sequence (not arrival order) to
order events. Two caveats: **replays arrive out of sequence order by design**
(a caught-up event keeps its original, older sequence), so dedupe on
`webhook-id` and never discard a delivery just because its sequence is below
your high-water mark; and a gap can also mean the missing event is still
retrying or waiting in a replayable state, so treat gaps as "check the
delivery log", not proof of loss. A test event carries no `sequence`.

## Event catalog [#event-catalog]

Subscribe an endpoint to any combination of the event types below. Types
marked **planned** can already be selected, but nothing fires for them yet and
their payload shape is not final; it is published here when the event goes
live.

| Event | Status | Payload (`data`) |
| ----- | ------ | ---------------- |
| `documents.indexed` | Live | Documents became searchable. Aggregated per workspace: at most one event per aggregation window, carrying a count. |
| `documents.failed` | Live | Documents terminally failed processing. Aggregated per workspace: at most one event per aggregation window, carrying a count. |
| `sync.completed` | Planned | A connector sync run completed. Payload shape is not final. |
| `sync.failed` | Planned | A connector sync run failed. Payload shape is not final. |
| `ingestion.completed` | Planned | An ingestion run completed. Payload shape is not final. |
| `ingestion.failed` | Planned | An ingestion run failed. Payload shape is not final. |
| `audit.recorded` | Live | The workspace's audit trail gained entries. Aggregated per workspace over a window: a count and the window to pull, never the entries themselves. |
| `endpoint.disabled` | Live | A webhook endpoint was disabled: automatically after sustained delivery failures or a 410 Gone, or by an admin. Delivered to the workspace's other endpoints. |
| `delivery.failing` | Live | Deliveries to a webhook endpoint are failing: raised once per failure window, 30 minutes after its first failed attempt, and delivered to the workspace's other endpoints. |
| `endpoint.enabled` | Live | A disabled webhook endpoint was switched back on. Closes the incident `endpoint.disabled` opened; delivered to the workspace's other endpoints. |
| `delivery.recovered` | Live | A delivery succeeded on an endpoint that `delivery.failing` was raised for. Closes that incident; delivered to the workspace's other endpoints. |
| `webhook.ping` | Live | Directed test event sent by the dashboard's send-test action to exactly one endpoint. Never subscribable; `data` is always empty. |

Example `data` objects for the live events:

```json
// documents.indexed
{ "count": 12 }

// documents.failed
{ "count": 2 }

// audit.recorded
{
  "count": 34,
  "windowStart": "2026-07-23T09:05:00.000Z",
  "windowEnd": "2026-07-23T09:10:00.000Z"
}

// endpoint.disabled
{
  "endpointId": "0198f2a4-6c1e-7d30-b6a1-2f9d54c08a11",
  "reason": "sustained_failure",
  "disabledAt": "2026-07-23T09:14:07.000Z"
}

// delivery.failing
{
  "endpointId": "0198f2a4-6c1e-7d30-b6a1-2f9d54c08a11",
  "failingSince": "2026-07-23T09:14:07.000Z"
}

// endpoint.enabled
{
  "endpointId": "0198f2a4-6c1e-7d30-b6a1-2f9d54c08a11",
  "enabledAt": "2026-07-24T08:02:51.000Z"
}

// delivery.recovered
{
  "endpointId": "0198f2a4-6c1e-7d30-b6a1-2f9d54c08a11",
  "failingSince": "2026-07-23T09:14:07.000Z",
  "recoveredAt": "2026-07-23T11:40:12.000Z"
}

// webhook.ping
{}
```

The operational events (`delivery.failing`, `delivery.recovered`,
`endpoint.disabled`, `endpoint.enabled`) report on the
health of **other** endpoints: the endpoint an event is about is always
excluded from that event's delivery, since delivering there would be
guaranteed noise.

Every live event is also described in the OpenAPI document at
`/api/openapi.json`, under `webhooks`: the full JSON Schema of the body and the
three signature headers, so you can generate receiver types instead of copying
the examples above. The schema is enforced on our side too: a payload that does
not match it is never sent.

### Feeding an audit trail to a SIEM [#feeding-an-audit-trail-to-a-siem]

`audit.recorded` is the push half of a SIEM feed, and it is deliberately not
the entries: an audit entry names a person, their address and what they
touched, and a webhook payload is stored in the delivery log and sent to a URL
you control, which may resolve anywhere. The event tells you a window closed
with entries in it; you pull the entries over the authenticated API with a key
carrying the `audit:read` scope.

On each event, search the trail with `windowStart` as `startDate` and
`windowEnd` as `endDate`, paging on the cursor until it comes back null. The
search's start bound is inclusive and the window's is not, so a page may
repeat the entry at exactly that instant; deduplicate on entry id, which you
need in any case because delivery is at-least-once.

The catalog endpoint lists every action the trail can record, with the
category each belongs to and a version that changes when the vocabulary does.
Read it once, compare the version on later reads, and treat an action missing
from it as unknown rather than invalid: the trail is append-only and keeps the
spelling each entry was written with.

Windows are contiguous for as long as you stay subscribed: each one starts
where the previous one ended, so a pass that is delayed makes the next window
wider instead of losing what happened in between. A window with no entries
sends nothing.

Reading the trail does not trigger an event. Every search and export is
recorded in the trail as `audit_log_viewed` or `audit_log_exported`, and those
entries are not counted toward `audit.recorded`, so the pull you make in
answer to an event never causes the next one. They stay in the trail: a
search returns them with everything else once some other entry opens a
window.

## Verifying deliveries [#verifying-deliveries]

Every delivery is signed following the
[Standard Webhooks specification](https://www.standardwebhooks.com/). Always
verify the signature before trusting a request: your endpoint URL is
reachable by anyone on the internet.

Each request carries three headers:

| Header | Value |
| ------ | ----- |
| `webhook-id` | Message id. Identical on every retry, resend and replay of the same event; deduplicate on it. |
| `webhook-timestamp` | Unix timestamp in seconds at send time. |
| `webhook-signature` | One or more signatures, space separated, each in the form `v1,{base64}`. |

To verify:

1. Reconstruct the signed content as `{webhook-id}.{webhook-timestamp}.{raw body}`.
   Use the raw request body bytes exactly as received, before any JSON parsing.
2. Compute HMAC-SHA256 over that string. The key is the **base64-decoded
   portion of the secret after the `whsec_` prefix** (the Standard Webhooks
   key derivation, which is what the reference libraries implement).
3. Base64-encode the HMAC and compare it against each `v1,` signature in the
   header using a constant-time comparison. The delivery is authentic if any
   one matches.
4. Reject deliveries whose `webhook-timestamp` is more than **5 minutes** from
   your current time, in either direction. This bounds replay of captured
   requests.

The header can carry more than one signature: while a secret rotation grace
window is open, deliveries are signed with both the new and the previous
secret (`v1,NEW_SIG v1,OLD_SIG`), so verification keeps succeeding no matter
which secret your service has rolled to.

```js
import { createHmac, timingSafeEqual } from "node:crypto";

const TOLERANCE_SECONDS = 5 * 60;

/**
 * @param {string} secret - The whsec_ signing secret from endpoint creation.
 * @param {Record<string, string>} headers - Lowercased request headers.
 * @param {string} rawBody - The raw request body, unparsed.
 */
export function verifyWebhook(secret, headers, rawBody) {
  const id = headers["webhook-id"];
  const timestamp = headers["webhook-timestamp"];
  const signatureHeader = headers["webhook-signature"];
  if (!id || !timestamp || !signatureHeader) return false;

  const skew = Math.abs(Math.floor(Date.now() / 1000) - Number(timestamp));
  if (!Number.isFinite(skew) || skew > TOLERANCE_SECONDS) return false;

  const key = Buffer.from(secret.slice("whsec_".length), "base64");
  const expected = createHmac("sha256", key)
    .update(`${id}.${timestamp}.${rawBody}`)
    .digest();

  return signatureHeader.split(" ").some((entry) => {
    const comma = entry.indexOf(",");
    if (comma === -1 || entry.slice(0, comma) !== "v1") return false;
    const received = Buffer.from(entry.slice(comma + 1), "base64");
    return received.length === expected.length && timingSafeEqual(received, expected);
  });
}
```

Because the format follows the Standard Webhooks specification, open-source
verification libraries for other languages work as-is; pass them the secret
and the three headers.

### Rotating the signing secret [#rotating-the-signing-secret]

Rotate an endpoint's secret with the rotate button on its row of the
<UiLabel k="workspaceSettings.webhooks" /> card. The new secret is shown once, when the rotation completes. The
dialog asks how long the current secret stays valid: no grace period,
15 minutes, 1 hour, 6 hours or 24 hours (the default).

- **With a grace period**, deliveries are signed with both the new and the
  current secret until the period ends, so receivers keep verifying while you
  roll the new secret out to every service. Use this for routine rotation.
- **With no grace period**, the current secret stops verifying at once: the
  next delivery carries only the new signature. Use this when a secret may
  have leaked, and deploy the new secret to your receivers straight away,
  because deliveries fail verification until you do.

An endpoint keeps one previous secret. While a grace period from the last
rotation is still open, the only rotation accepted is one with no grace
period, and it revokes both old secrets at once: the current one and the one
still in its grace period. This is what makes a leak recoverable even right
after a routine rotation. A rotation with a grace period is refused until the
open one has ended; the dialog shows when that is and offers only the
immediate rotation until then. Over the API, `GET /webhooks` returns the end
of the open grace period as `previousSecretExpiresAt` (null when none is
open), and `POST /webhooks/rotate-secret` takes the window as `gracePeriodMs`:
`0`, `900000`, `3600000`, `21600000` or `86400000`, defaulting to 24 hours. Each
rotation is recorded in the audit log with its grace period and whether it
revoked a secret that was still in its grace period; the secrets themselves
are never logged.

## Retries and failure [#retries-and-failure]

Your endpoint has **10 seconds** to respond, connection setup included. A
response with a 2xx status counts as delivered; anything else, including a
timeout or a redirect (deliveries never follow redirects), counts as a failure
and is retried. The one exception is **410 Gone**: it tells us the route was
removed on purpose, so that delivery is not retried and the endpoint is
disabled at once, with an `endpoint.disabled` event (reason `gone`) to the
workspace's other endpoints and an email to every owner and admin. A 410 in
answer to Send test event or Resend delivery fails only that delivery.
Respond 2xx as soon as you have durably accepted the event, and do the heavy
processing asynchronously.

A failed delivery is retried on this schedule:

| Attempt | Delay after the previous failure |
| ------- | -------------------------------- |
| 1 | immediate |
| 2 | 5 seconds |
| 3 | 5 minutes |
| 4 | 30 minutes |
| 5 | 2 hours |
| 6 | 5 hours |
| 7 | 10 hours |
| 8 | 10 hours |

That is 8 attempts over roughly 27.5 hours, so a full-day outage on your side
does not lose events. Each delay carries up to 20% random jitter in either
direction, which prevents synchronized retry bursts against a recovering
endpoint. If your endpoint returns a `Retry-After` header, the requested delay
is honored within limits: it is clamped between the scheduled delay and twice
the scheduled delay. Responses with status 429 and timed-out attempts wait at
least 60 seconds before jitter is applied, so never less than 48 seconds,
regardless of how early the schedule slot falls.

### Auto-disable [#auto-disable]

An endpoint that keeps failing is eventually disabled rather than hammered
forever:

- When deliveries have been failing for 30 minutes, a `delivery.failing`
  event fires once (delivered to the workspace's other endpoints) and every
  workspace owner and admin gets an in-app notification. This is the early
  warning; a blip that a success closes within those 30 minutes raises
  nothing.
- As the failure window runs on, the warning escalates: at **3 days** and
  again at **4.5 days** every owner and admin gets an in-app notification and
  an email naming the time after which the endpoint is disabled if deliveries
  are still failing. Each warning reaches each person once per failure window.
- A successfully delivered event resets the failure window. A test event
  does not: it proves the endpoint answers, not that it processes events. If
  a warning had already gone out, a `delivery.recovered` event fires and
  owners and admins get an in-app notification that the endpoint recovered.
- After **5 days** of consecutive failures, the endpoint is disabled: an
  `endpoint.disabled` event fires (again, to other endpoints), and every
  workspace owner and admin is emailed.

The disable needs a failed delivery after the final warning. If nothing was
sent to the endpoint by the time the final warning named, the next failure
raises a fresh final warning instead, and the endpoint is disabled only if
deliveries are still failing 12 hours later.

Switching an endpoint off yourself fires `endpoint.disabled` with reason
`manual` to the workspace's other endpoints. A disabled endpoint receives no
further deliveries, and its send-test and resend actions are blocked. Once
your receiver is healthy again, re-enable the
endpoint on the <UiLabel k="workspaceSettings.webhooks" /> card (click its
status badge): re-enabling clears
the failure history, so the endpoint starts a fresh 5-day window, and an
`endpoint.enabled` event fires to the workspace's other endpoints. Events that
occur while an endpoint is disabled are recorded in its delivery log with the
<UiLabel k="workspaceSettings.deliveryStatusDropped" /> status instead of being sent. After re-enabling, use the
<UiLabel k="workspaceSettings.sendTestEvent" /> action to confirm the endpoint
is reachable, then the <UiLabel k="workspaceSettings.replayAll" /> action to
catch up on everything the outage cost in one action.

## Manual redelivery and testing [#manual-redelivery-and-testing]

The delivery log on the <UiLabel k="workspaceSettings.webhooks" /> card, in the
<UiLabel k="workspaceSettings.security" /> section of your workspace's page,
shows each delivery with its latest status code, how many attempts it took,
and the last error. From there:

- The <UiLabel k="workspaceSettings.resendDelivery" /> action re-delivers the original event of a past delivery (same
  `webhook-id`, same JSON content) as a single attempt. It does not enter the retry schedule and never
  counts toward auto-disable, so it is safe to use while debugging a flaky
  receiver. The resend carries the **original `webhook-id`**, so a receiver
  that already processed the event before answering with an error treats it
  as the same message.
- The <UiLabel k="workspaceSettings.replayAll" /> action bulk-replays every terminally-failed and
  dropped delivery of the endpoint, oldest first (deliveries still on their
  automatic retry schedule are excluded, so a replay can never duplicate a
  retry that was going to succeed anyway). Replayed deliveries use the full
  retry schedule and carry the **original `webhook-id`**: to your service a
  replay is the same message again, so idempotency handling on `webhook-id`
  makes catch-up safe whether or not the original ever arrived. An event that
  a resend or an earlier replay already delivered is skipped, and so is one
  that is still being delivered. Choose how far back to go (the last 24
  hours, the last 7 days, or everything retained), and the dialog previews
  how many events that range will send before you start. The preview checks
  up to 500 events; when the range holds more, it says so and shows the count
  as a minimum ("at least N"), because the rest of the range has not been
  counted yet. The replay itself has no such limit: it pages through the whole
  range 500 events at a time, with progress shown as it goes, and reports the
  final totals when it finishes. Replays arrive
  out of sequence order; order the caught-up events by the payload's
  `sequence`.
- The <UiLabel k="workspaceSettings.sendTestEvent" /> action delivers a signed event to exactly that endpoint,
  regardless of its event subscriptions, and shows the outcome (the status
  code, or why it failed) as soon as the attempt finishes. Pick
  `webhook.ping`, whose `data` is empty, to confirm reachability and exercise
  your signature verification end to end, or any live event type to receive
  that event with the example `data` shown above and exercise your handler for
  it. Every test event carries `"test": true` in its envelope, and a real event
  never carries the field, so your handler can tell an example from the real
  thing and skip acting on it. A test event never opens, advances or resets the
  failure window.

## Best practices [#best-practices]

- **Deduplicate on `webhook-id`.** Automatic retries, resends and replays
  reuse the same id, so
  storing processed ids gives you exactly-once processing on top of
  at-least-once delivery.
- **Never treat a payload as current state.** Payloads are thin and can arrive
  late; use the event as a trigger and read the current state from the API.
- **Do not rely on ordering.** Retries and parallel delivery mean events can
  arrive out of order.
- **Return 2xx before heavy work.** Queue the event and process it
  asynchronously; a handler that does its work inline risks hitting the
  10-second timeout and being retried, which turns one event into several
  duplicate attempts.
- **Rotate secrets with a grace window.** A grace period keeps the previous
  secret valid while deliveries are signed with both, so a rolling deploy of
  your services never drops a delivery. For a secret that may have leaked,
  rotate with no grace period instead, as the section on rotating the signing
  secret above describes.


---

# Documents & search
Source: https://nordvec.com/docs/guides/concepts/documents

Documents are the searchable unit in Nordvec. Ingest them, then find them with full-text search over the API.

A **document** is the unit Nordvec searches over: a file, a page, a message, an
email, whatever you ingest. Once a document is processed it becomes searchable
and can be cited in an answer.

## Ingesting documents [#ingesting-documents]

Documents enter your workspace three ways:

- Connectors, set up on the <UiLabel k="integrations.title" /> page, sync from
  a source you own (the connector owner). New and changed documents are picked
  up automatically. See the [connector catalogue](/docs/guides/connectors).
- Uploads are files you add in the app; the <UiLabel k="files.title" /> page
  lists them under <UiLabel k="files.sourceUploaded" />.
- **Push** sends a document to Nordvec directly from your own system. See
  [Push documents](/docs/guides/how-to/push-documents).

Whichever way it arrives, Nordvec processes the document, splits it into passages, and indexes
it for retrieval. Your documents are stored and searched in the EU.

A document has a `status`: `processing` while it is being indexed, `indexed`
once every processing step has finished, and `failed` when it could not be processed.

## Who sees a document [#who-sees-a-document]

A document from a connector is private to the person who connected it until
that person shares it. An API key belongs to the workspace, so it sees what the
workspace shares and never a person's unshared documents.

## Searching [#searching]

`/documents/search` is **full-text** search over the title and the whole text
of every document you can see, however long the document is. Words match in the
form you write them, in any language, and accents are ignored on both sides, so
`cafe` finds `café`. There is no stemming: `invoice` does not match `invoices`.

Search runs standalone, without conversation context. It returns ranked
documents, each with a snippet from its best-matching passage and a relevance
score from 0 up to, but never reaching, 1.

```bash
curl https://nordvec.com/api/v1/documents/search \
  -H "Authorization: Bearer $NORDVEC_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "query": "renewal terms", "limit": 10 }'
```

You can also list documents (`/documents/list`) or fetch one by id
(`/documents/{id}`). See the [API reference](/docs/api) for the full set of
parameters and response shapes.

### Try it [#try-it]

Run a query against a small demo corpus. This searches six sample documents in
your browser, ranked and sourced, the same shape a real search returns.

<LiveSearchDemo />

Semantic retrieval, which matches passages by meaning rather than exact words,
is what powers a [conversation's](/docs/guides/concepts/conversations) cited
answers. The search endpoint itself matches words.

<Callout>
Search only ever returns documents the caller is allowed to see. Access is
enforced in the database, not in application code.
</Callout>

## Content types [#content-types]

A document can carry a knowledge type in `content_type` (for example
`decision`, `runbook`, `policy` or `faq`). A pushed document sets it with the
push API's `type`; a document with no type has `content_type: null`. Search and
list both filter on it with `contentType`.

## Where documents are cited [#where-documents-are-cited]

Search gives you passages to work with directly. When you want a written answer
instead of raw passages, a [conversation](/docs/guides/concepts/conversations)
retrieves over the same documents and cites them in its reply.


---

# Conversations & citations
Source: https://nordvec.com/docs/guides/concepts/conversations

A conversation is a chat grounded in your documents, where every answer is traced to its source.

A **conversation** is a chat grounded in your documents. You ask a question,
Nordvec retrieves the relevant passages, and it answers from them, citing the
documents it used. If the documents do not support an answer, it says so rather
than guessing.

## Citations are the point [#citations-are-the-point]

Every answer carries the sources it was built from. This is deliberate: a RAG
answer you cannot trace is a liability, not a feature. The citations let a human
jump to the exact document a claim came from and confirm it, which is exactly
what regulated and high-stakes work needs.

<Callout>
Answers are generated by AI. Citations are what make them verifiable, not just
plausible.
</Callout>

## Conversations belong to a person [#conversations-belong-to-a-person]

A conversation is owned by the signed-in person who started it, so its
endpoints answer to a **session**, never to an API key. A key is its own
principal with no chat history of its own; see
[Authentication](/docs/guides/authentication).

With a session you can:

- **Create** a conversation (`POST /conversations`).
- **List** and **search** your conversations (`GET /conversations`,
  `GET /conversations/search`).
- **Retrieve** a conversation with its recent messages
  (`GET /conversations/{id}`), and page back through older history
  (`GET /conversations/{id}/messages`).
- **List the documents** a conversation has drawn on
  (`GET /conversations/{id}/documents`).

See the [API reference](/docs/api) for the exact request and response shapes.

## Feedback [#feedback]

You can submit feedback on an answer and on the passages that were retrieved.
That signal is used to improve retrieval quality over time.


---

# Connectors
Source: https://nordvec.com/docs/guides/connectors

Every source Nordvec can import, from cloud storage and email to CRMs and accounting, stored in the EU and private to the person who connected it.

Nordvec has 20 connectors you can connect and 12 planned.
Each connector's page covers what it imports and how to filter searches by it.
Which connectors can be connected right now is published live, with the full
list, at [`/docs/connectors.json`](/docs/connectors.json).

<Callout>
Everything a connector imports is stored and searched in the EU.
Documents from a connector are private to the person who connected it and cannot be shared from within
Nordvec; access to them is managed in the source system.
</Callout>

### Cloud storage [#cloud-storage]

<Cards>
  <Card title="Box" href="/docs/guides/connectors/box" />
  <Card title="Dropbox" href="/docs/guides/connectors/dropbox" />
  <Card title="Egnyte" href="/docs/guides/connectors/egnyte" />
  <Card title="Google" href="/docs/guides/connectors/google" />
  <Card title="Microsoft" href="/docs/guides/connectors/microsoft" />
  <Card title="Nextcloud" href="/docs/guides/connectors/nextcloud" />
</Cards>

### Communication [#communication]

<Cards>
  <Card title="IMAP" href="/docs/guides/connectors/imap" />
  <Card title="Slack" href="/docs/guides/connectors/slack" />
</Cards>

### CRM [#crm]

<Cards>
  <Card title="HubSpot" href="/docs/guides/connectors/hubspot" />
  <Card title="Pipedrive" href="/docs/guides/connectors/pipedrive" />
  <Card title="Salesforce (Planned)" href="/docs/guides/connectors/salesforce" />
</Cards>

### Customer support [#customer-support]

<Cards>
  <Card title="Freshdesk" href="/docs/guides/connectors/freshdesk" />
  <Card title="Intercom (Planned)" href="/docs/guides/connectors/intercom" />
  <Card title="Zendesk (Planned)" href="/docs/guides/connectors/zendesk" />
</Cards>

### Developer tools [#developer-tools]

<Cards>
  <Card title="GitHub" href="/docs/guides/connectors/github" />
  <Card title="Linear" href="/docs/guides/connectors/linear" />
</Cards>

### Knowledge bases [#knowledge-bases]

<Cards>
  <Card title="Confluence" href="/docs/guides/connectors/confluence" />
  <Card title="Notion" href="/docs/guides/connectors/notion" />
  <Card title="Guru (Planned)" href="/docs/guides/connectors/guru" />
</Cards>

### Project management [#project-management]

<Cards>
  <Card title="Asana" href="/docs/guides/connectors/asana" />
  <Card title="ClickUp" href="/docs/guides/connectors/clickup" />
  <Card title="Jira" href="/docs/guides/connectors/jira" />
  <Card title="Monday.com" href="/docs/guides/connectors/monday" />
  <Card title="Trello" href="/docs/guides/connectors/trello" />
</Cards>

### Accounting [#accounting]

<Cards>
  <Card title="Business Central (Planned)" href="/docs/guides/connectors/businesscentral" />
  <Card title="Dinero (Planned)" href="/docs/guides/connectors/dinero" />
  <Card title="e-conomic (Planned)" href="/docs/guides/connectors/economic" />
  <Card title="Fortnox (Planned)" href="/docs/guides/connectors/fortnox" />
  <Card title="QuickBooks (Planned)" href="/docs/guides/connectors/quickbooks" />
  <Card title="Visma (Planned)" href="/docs/guides/connectors/visma" />
  <Card title="Xero (Planned)" href="/docs/guides/connectors/xero" />
</Cards>

### Meetings [#meetings]

<Cards>
  <Card title="Zoom (Planned)" href="/docs/guides/connectors/zoom" />
</Cards>


---

# Desktop app
Source: https://nordvec.com/docs/guides/desktop

Install the Nordvec desktop app, see what it writes to disk, and find out why it declines or skips a file.

The desktop app syncs the folders you choose on your computer into Nordvec.
These pages cover what it installs, where it keeps its data and log file, and
what each message it shows means.

- [Install, data directory and logs](https://nordvec.com/docs/guides/desktop/install-and-data): What the Nordvec desktop app installs on Windows, macOS and Linux, every file it writes to disk, and where its log file is.
- [Desktop app known issues](https://nordvec.com/docs/guides/desktop/known-issues): Why the Nordvec desktop app declines a folder, skips a file, holds a removal or stops syncing, and what to do about each.


---

# Reconnect a connector
Source: https://nordvec.com/docs/guides/troubleshooting/reconnect-integration

Fix "authentication has expired" and "access has been revoked" sync errors by reconnecting the affected connector.

When a sync reports **"Your authentication has expired"** or **"Your access has
been revoked"**, Nordvec can no longer act on your behalf at the provider. The
connection itself needs to be renewed; retrying the sync without reconnecting
will not help.

## Why this happens [#why-this-happens]

- The provider expired the long-lived credential Nordvec holds. Some providers
  do this on a fixed schedule, others after a period of inactivity.
- You changed your password at the provider, which commonly revokes all
  connected apps.
- You (or a workspace admin) revoked Nordvec's access from the provider's
  connected-apps or security settings.
- The provider rotated its security policy (for example after suspicious
  activity on your account) and invalidated existing grants.

## How to fix it [#how-to-fix-it]

1. Open **Connectors** in Nordvec.
2. Find the affected connector. It shows the error state reported by the
   last sync, and a **Reconnect** button on its card.
3. Choose **Reconnect** and sign in to the provider with the **same account**
   you originally connected. Approve every permission the provider lists;
   declining one leads to a
   [missing-permissions error](/docs/guides/troubleshooting/insufficient-scopes)
   instead.

Reconnect is also available from the connector's details at any time, not
only after an error.

Reconnecting keeps everything already synced. Do not use **Disconnect** to fix
an expired sign-in: disconnecting permanently deletes every document the
connector synced.

If you sign in with a different account than the one the connector was set
up with, Nordvec refuses the reconnect and changes nothing. To switch accounts,
disconnect the connector and connect the other account instead.

### Connectors that cannot be reconnected in place [#connectors-that-cannot-be-reconnected-in-place]

Guru, Notion, Zendesk, Freshdesk, Trello and e-conomic do not offer
**Reconnect**, because Nordvec cannot confirm that a new sign-in belongs to the
same account. For these, disconnect the connector and connect it again. Disconnecting deletes the
documents it synced, and the next sync imports them again from the start.

## What happens after reconnecting [#what-happens-after-reconnecting]

The new sign-in replaces the old one and the error clears. A sync starts
right away, and documents that failed while the connection was down are
retried; the items listed under **"Items that could not be imported"** clear
as they import successfully.

Connectors are connected per user: reconnecting renews *your* connection and
does not affect anyone else's. Only the person who connected a connector can
reconnect it, and that includes workspace admins: an admin cannot reconnect a
colleague's connector.
