---
title: Edit, version and override documents
description: Find, edit, archive and restore research docs, read their version and refresh history, and add context overrides.
canonical: https://distrosauce.com/docs/research-library/manage-docs
last_updated: 2026-11-14
---

# Edit, version and override documents

This page explains the research library's pages and everything you can do with a doc once it exists: edit it, restore an earlier version, see its refresh history, and add context overrides.

## The pages

| Page | What it is for |
|---|---|
| **Research > Library** | The list of all research docs, with filters and quick actions |
| **Research > Generate** | Creating docs: competitor, partner, case study, bulk case study import and manual entry |
| The doc page | Open by clicking a doc's name in the library: editing, keywords, metadata, history, overrides and **Test Matching** |
| **Settings > Research Prompts** | The prompts used to write and refresh docs (owners and admins) |

## The library page

**Research > Library** lists your docs with their **Name**, **Type**, **Status**, **Keywords** count, when they were last **Updated**, their **Version** and **Actions**.

- The tabs filter by type: **All**, **Competitors**, **Partners**, **Case Studies**, **Market** and **Stack Patterns**, each with a count.
- The status menu shows **Active**, **Stale** or **Archived** docs. Docs that are generating or failed are shown under every choice.
- While any doc is generating, the page updates on its own every few seconds, and the doc shows a running timer.

The actions depend on the doc's status:

- An active or stale doc has **Refresh** (not on case studies), **View** and **Archive**.
- A failed doc has **Retry** and **Archive**.
- An archived doc has **Unarchive**.

## The doc page

At the top of a doc page are its type, its status and its version. From there:

- Rename it: click the name, type a new one and press **Save name**.
- Download it: **Download MD** saves the doc, its snippet, keywords and tags as a Markdown file.
- Refresh it: **Refresh** checks the doc's sources for changes and applies them. Not offered for case studies. See [Staleness and refresh](https://distrosauce.com/docs/research-library/staleness).
- Archive it: **Archive** takes it out of generation. An archived doc can be brought back with **Unarchive**.

Below the header:

- **Content**: the doc body that goes into prompts. Edit it and press **Save content**. Saving writes the keywords again and records the old content as a version. The heading shows an estimate of how many tokens the doc uses.
- **Generation Snippet** (case studies only): the short summary used in emails. See [Add case studies](https://distrosauce.com/docs/research-library/case-studies#the-generation-snippet).
- **Keywords & Industry Tags**: see [How documents are matched to prospects](https://distrosauce.com/docs/research-library/keyword-matching).
- **Tech Stack Aliases** (partners only): how the partner's product appears in tech stack data, used to tell whether a prospect already uses it. Click an alias to pin it, and press **Save aliases**.
- **Partnership Context** (partners only): your notes on the relationship, used when the doc is next generated or refreshed from the partner's website. They are not added to emails or briefs directly.
- **Metadata**: **Priority** (0-100), **Staleness Days**, **Source URLs**, and read-only **Slug**, **Created**, **Last Refreshed**, **Next Refresh** and **Version**. Press **Save metadata** after a change.

## Version History

Expand **Version History** to see every earlier version of the doc. Each entry shows its version number, where it came from (**Manual edit**, **Regeneration**, **Refresh** or **Initial**), how many keywords it had, when it was made and a preview of its content.

Click a version to read it in full. If it is better than the current one, press **Restore this version**. The current content is saved as a new version first, so restoring never loses anything.

## Refresh History

Expand **Refresh History** for a timeline of every refresh check, both the daily ones and the ones you started. Each entry shows when it ran, the method (**Crawl** for a website read, **Web Search** otherwise), whether there were **Changes detected** or **No changes**, **Auto-applied** when the changes were applied, the source checked, and a summary of what changed.

## Context Overrides

A context override is extra text for a doc that is used only in one kind of writing. There are two context types:

| Context type | Used in |
|---|---|
| **Direct Sales** | Outbound emails, and ABM briefs for accounts that are not on a partner list |
| **Partner** | ABM briefs for accounts on a partner list |

For example, a competitor doc could have a Direct Sales override with sharper positioning, and a Partner override with softer co-sell language.

To add one:

1. On the doc page, expand **Context Overrides** and press **+ Add override**. On a partner doc with no override yet, press **Create Direct Sales Override**.
2. Choose the **Context Type** and give it a **Label**.
3. Write the **Content Override**.
4. Keep **Active** ticked, and press **Create**.

A doc can have one override of each type. Use **Edit** and **Delete** on an override to change or remove it.

> **Important:** In its context, the override is added after the doc's content. It does not replace the content, so it cannot keep anything in the content out of an email. Keep details that must never reach a prospect, such as internal pricing, out of a doc's content.

## Fix an inaccurate doc

Edit **Content** on the doc page and press **Save content**. Your edit is kept as the current version, and earlier versions stay in **Version History**. A later refresh or regeneration can change the content again, and your edited version stays in **Version History** if you need it back.

## What's next

- [Staleness and refresh](https://distrosauce.com/docs/research-library/staleness)
- [Troubleshoot the research library](https://distrosauce.com/docs/research-library/troubleshooting)
