All articles
December 6, 2026

How to Track Changes to Your Documentation

track-documentation-changes-cover.png

With DocStar, every change to your documentation leaves a trail: who edited a page, what it looked like before, what went live and when. You can read that trail yourself, or connect Claude Code, Cursor or Codex to the DocStar MCP and ask in one sentence: "What changed in our API docs this week, and who changed it?" The agent pulls the logs and version history, summarizes them, and drafts a changelog entry for you to review.

This guide shows how to track documentation changes in DocStar, with your AI agent doing the digging and you making the calls.

#

Why tracking documentation changes matters now

Docs used to be read only by people. If a page was wrong for a week, a few readers got confused. Today the same docs feed far more. In DocStar, one collection powers your docs site, llms.txt, a hosted MCP server that AI assistants use to call your API, and a CLI generated from your published endpoints. When a field name changes in the docs, it changes for all of them.

That makes three questions important:

  • What changed? Which pages were edited, renamed, moved, published or deleted.

  • Who changed it, and when? So you can ask the right person, or roll back with confidence.

  • What did readers and agents see? The draft you're working on and the version that's live are not always the same.

DocStar answers all three without any extra tool.

#

What DocStar records for you

DocStar keeps several records side by side. Each one answers a different question.

Record What it shows Where to find it
Version History Your draft each time an editing session ends, with when it was saved and who made the changes Page settings (gear) → History → Version History
Published History Every version you published, with who published it and when Page settings (gear) → History → Published History
Activity Logs Collection and page events: create, edit, move, publish, unpublish, delete, URL changes Logs in the collection sidebar
User Activity Logs Member changes: invites, removals, role updates Bottom of the Members page
Webhooks A live feed of page events sent to your own systems Collection Settings → Webhooks
Changelog The reader-facing story of what changed Updates in the collection sidebar

Version History even stores pages that were never published, so a half-finished draft is never lost. Published History is your record of what readers actually saw. You need write access to the collection to open either one. Full details are in Version History.

#

Let your AI agent track changes for you in DocStar

Clicking through logs page by page works, but it's slow, and nobody does it every week. In DocStar the main path is to let an AI agent read the trail for you.

#

Step 1: Connect your agent to the DocStar MCP

Add the DocStar MCP URL, https://mcp.docstar.io/mcp, to Claude Code, Cursor, Codex or another assistant that supports MCP. The first time the agent needs your workspace, you sign in to DocStar in your browser. There is no API key to copy. The agent works only with the workspaces and collections your account can access, with the same permissions you have. Setup steps are in Work with AI Assistants (MCP).

Through the DocStar MCP, the agent can use the DocStar API, which covers what you can do in the DocStar UI. That includes the Logs endpoints (collection, page, organization and webhook logs), Published Versions and Changelogs.

#

Step 2: Give it one plain-language prompt

Look at our "Payments API" collection in DocStar. List every page that was created, edited, renamed, moved, published, unpublished or deleted in the last 7 days, with who did it and when. Group the changes by module, flag anything that changed an endpoint's fields or URL, and point out pages that were edited but not published yet. Then draft a changelog entry for the changes readers will notice. Save the changelog as a draft and ask me before changing anything else.

#

Step 3: What the agent does

A good agent run looks like this:

  1. Finds the collection you named and lists its pages.

  2. Reads the activity logs for the collection and each page: creates, edits, publishes, unpublishes, deletes and URL mapping changes, each with a timestamp and the person behind it.

  3. Checks published versions to tell apart what's live from what's still a draft.

  4. Summarizes the week in plain English: "Orders module: Create order edited twice by Priya, published Tuesday. Refund renamed to Create refund; old URL now redirects."

  5. Drafts a changelog entry for the reader-facing changes and saves it as a draft. It asks before it changes anything.

[Screenshot: Coding agent summarizing a week of DocStar activity logs]

#

Step 4: You review and decide

The agent does the reading. You make the judgment calls:

  • Was this change intended? If a page changed that shouldn't have, open its Version History, preview the older copy and click Restore.

  • Should this go live? Pages edited but not published are drafts. Publish them when they're ready, or leave them.

  • What do readers need to know? Edit the changelog draft for tone, cut internal details and publish it from Updates.

For more on checking AI-written content before it goes out, see How to Review AI-Written Docs Before They Go Live.

#

Roll back a bad change in DocStar

Sometimes the trail shows a mistake: a deleted paragraph, a wrong parameter, a page published too early. DocStar gives you two ways back.

Undo edits with Version History. Open the page, click the gear icon, then History → Version History. Pick a version, preview it and click Restore, then Confirm. The page content is replaced with that version, and everyone editing the page sees the change.

Return to what readers saw with Published History. Open History → Published History, pick a version and click Restore. The published version is loaded into the editor as your current draft. Your live site doesn't change until you publish again, so you can check it first.

Deleted a whole page by mistake? Deleted pages and collections are kept for 30 days and can be restored.

You can ask your agent to find the right version for you ("Which published version of the Webhooks page still had the retry_count field?"), then restore it yourself in the editor.

#

Send every change to your own systems with webhooks

If your team wants a permanent audit trail outside DocStar, or a Slack ping when docs change, add a webhook. DocStar sends an HTTP POST to your URL for the events you pick:

Event Sent when
PAGE_CREATED A page is created
PAGE_DELETED A page is deleted
PAGE_UPDATED_TITLE A page is renamed
PAGE_UPDATED_PATH A page's URL path changes
PAGE_UPDATED_PUBLISH_STATUS A page is published or unpublished
PAGE_UPDATED_CONTENT A page's content changes

For content changes, the payload includes the HTML from before and after the edit, plus who made the change when that's available. That's enough to build a diff view, a review queue or a compliance log. Failed deliveries are not retried, so log what you receive. See Webhooks for the payload fields.

Your agent can set this up too: "Add a DocStar webhook on the Payments API collection that sends content and publish events to https://example.com/hooks/docs." It shows you the plan and asks before saving.

#

Keep it current: make change tracking a habit

Tracking changes once is easy. The value comes from doing it every release.

  • Run the same prompt every week or every release. Ask the agent for "what changed since the last changelog entry", and keep the reader-facing changelog flowing. Our guide to writing a changelog people actually read covers the format.

  • Let DocStar draft changelogs for you. In Updates, AI Generate drafts release notes from the pages you pick, and Subscribe to changelogs drafts an entry whenever pages change. Drafts never go public until you publish them.

  • Put API specs next to the code. With GitHub Sync, OpenAPI files live in your repo, so spec changes show up in the same pull request as the code and get reviewed like code. On push, the GitHub Action sends changed files to DocStar, and the docs site, MCP tools and CLI update together. The agent still has to update the spec as part of the change; DocStar doesn't watch your repo for drift. More in How to Keep Your API Docs in Sync with Your Code.

  • Ask the agent to update docs when code changes. When you change an endpoint, tell your coding agent to update its DocStar page in the same task. It saves the edit as a draft, and Version History records it like any other change.

#

Prefer to click?

Everything above works by hand too. Open Logs in the collection sidebar to see recent edits across the collection. Open any page's gear menu and use History for Version History and Published History. Check Members for the User Activity Logs, Settings → Webhooks for webhook activity, and Updates for the changelog. Need a snapshot to compare later? Export the collection from Settings → Collection Actions → Export Collection.

#

Why teams choose DocStar for documentation change tracking

  • Built in, not bolted on. Version History, Published History, activity logs, webhooks and a changelog come with every collection.

  • Draft and live kept apart. You always know what readers and AI agents see versus what's still being written.

  • AI-agent-first. Connect your assistant to the DocStar MCP with a browser sign-in and ask for a weekly change report in plain language.

  • One source for people and agents. The same collection powers your docs site, llms.txt, MCP server and CLI, so one reviewed change updates them all.

  • Easy rollback. Restore any saved or published version in a few clicks, and recover deleted pages for 30 days.

#

FAQ

Can I see who changed a page in DocStar? Yes. Version History shows who made each saved change, Published History shows who published each version, and the Activity Logs list page events with the person and time.

Does restoring an old published version change my live docs? No. Restoring from Published History loads that version into the editor as a draft. Readers keep seeing the current version until you publish again.

Can my AI agent read DocStar's activity logs? Yes. Connect it to the DocStar MCP at https://mcp.docstar.io/mcp and sign in. It can use the DocStar API's Logs endpoints with your permissions and summarize changes for you. It asks before changing anything.

Can I get notified when someone edits the docs? Yes. Add a webhook for PAGE_UPDATED_CONTENT or PAGE_UPDATED_PUBLISH_STATUS and point it at your own endpoint, such as a service that posts to Slack.

What happens if someone deletes a page by mistake? Deleted pages are kept for 30 days and can be restored, along with their content.

#

Get started free

Give your docs a full change history, and let your AI agent tell you what changed every week. Get started free with DocStar.

track documentation changesdocumentation version historydocumentation audit trailactivity logsdocs rollback