Sync Confluence Wiki to AI Knowledge Base

Confluence wikis accumulate years of institutional knowledge -- architecture decisions, runbooks, onboarding guides, post-mortems. REM Labs indexes all of it so your AI can search by meaning across every space, page, and comment your team has ever written.

What Gets Synced

The Confluence integration extracts structured content from your instance and stores each page as an indexed memory:

Connect Your Instance

In the REM Labs Console, go to Integrations and click Connect Confluence. Enter your Atlassian Cloud URL and authorize via OAuth 2.0. You can select specific spaces to sync rather than your entire instance.

Import via API

curl -X POST https://api.remlabs.ai/v1/memory/sync/confluence/import \ -H "Authorization: Bearer sk-slop-..." \ -H "Content-Type: application/json" \ -d '{ "confluence_url": "https://yourteam.atlassian.net/wiki", "confluence_token": "ATATT3xFf...", "space_keys": ["ENG", "PRODUCT", "OPS"], "include_comments": true, "include_attachments": true, "sync_mode": "incremental" }'

The space_keys array lets you target specific Confluence spaces. Incremental mode checks page version numbers and only re-indexes pages that have been updated since the last sync.

Space-Scoped Search

After sync, you can search across all spaces or scope queries to a specific space. This is particularly useful for separating engineering knowledge from product knowledge from operations docs.

curl -X POST https://api.remlabs.ai/v1/integrations/confluence/search \ -H "Authorization: Bearer sk-slop-..." \ -H "Content-Type: application/json" \ -d '{ "query": "how to handle database migrations in production", "space": "ENG", "limit": 10 }'

The query "how to handle database migrations in production" will find the runbook titled "Schema Change Procedure" and the post-mortem about the migration that took down staging -- because semantic search matches meaning, not keywords.

Page Hierarchy as Knowledge Graph

Confluence's parent/child page structure maps naturally to REM Labs' entity graph. When you search for a topic, related pages discovered through graph traversal appear in results even when their content is not semantically similar to your query. A search about "deployment process" can surface the child page "Rollback Procedures" through structural relationships.

API Endpoints Reference

EndpointMethodDescription
/v1/memory/sync/confluence/importPOSTImport pages from Confluence spaces
/v1/memory/sync/confluence/spacePOSTSync an entire Confluence space
/v1/integrations/confluence/statusGETCheck sync status per space
/v1/integrations/confluence/searchPOSTSearch within the Confluence namespace

Version tracking: REM Labs stores the Confluence page version number for each synced page. Incremental syncs compare versions and only re-process updated pages. For large instances (10,000+ pages), initial sync runs as a background job. See Confluence integration docs.

Turn your wiki into AI memory

Free tier. Semantic search across every Confluence space.

Get started free →