RAG Content Exporter
Serve clean, AI-ready WordPress content to your RAG pipeline through a secure REST API - your archive, always in sync
RAG Content Exporter is the WordPress side of a retrieval-augmented generation pipeline. It exposes your content - articles, pages, custom post types - through a secure, token-authenticated REST API, cleaned and structured so your ingestion pipeline can chunk and embed real content instead of fighting HTML noise. If you are building AI products, internal knowledge bases, or conversational assistants powered by your own content, this plugin handles the WordPress side properly: normalized exports, change detection, and deleted-content tracking, so downstream vector stores stay in sync with what is actually published. No scraping, no custom export scripts, no stale data.
For AI and Product Teams
- Feed any RAG stack - n8n, LangChain, custom Python - from one consistent API
- Change and deletion tracking keeps vector data current without full re-syncs
- Clean, normalized content improves retrieval quality downstream
- Works with any vector database - the pipeline stays yours, no lock-in
For Technical Teams
- Eliminate scraping and custom export script maintenance
- Token authentication and request logging for every consumer
- Incremental sync endpoints prevent unnecessary embedding spend
- Paginated exports handle archives of any size
Technology Stack
Features
Secure REST Export API
Token-authenticated endpoints expose posts, pages, and custom post types as clean JSON. Request logging tracks every consumer, and per-integration API keys can be revoked independently.
Clean, Chunk-Ready Content
Gutenberg blocks are converted to clean text, shortcodes are stripped, and markup is normalized. Your pipeline chunks and embeds real content, with source metadata preserved on every item.
Change Detection
A dedicated changes endpoint reports what was created or updated since the last sync, so your pipeline only re-processes what actually changed - keeping embedding costs low and sync cycles fast.
Deleted Content Tracking
When content is unpublished or deleted, the API reports it, so your vector store can drop stale entries instead of answering from content that no longer exists.
Content Filtering
Control exactly what gets exported. Exclude post types, categories, or individual entries with granular rules - drafts and private content never leave WordPress.
Pagination and Sync Status
Paginated endpoints handle archives of any size, and a sync-status endpoint gives your pipeline a single source of truth for where the last run stopped.