chat_exportBulk export. Hand off, archive, or analyse offline.
Sometimes the agent needs more than a query — it needs the whole file. chat_export packages every session for a site in a date range into a downloadable archive (JSONL plus optional CSV) and returns the URL. Three credits. Useful for analyst handoff, training data, or compliance archiving.
When to call this tool
Reach for it monthly for compliance, weekly for analyst review, or ad-hoc when a stakeholder asks for "everything we said to visitors last week". The export URL is signed and expires after 24 hours; agents should download immediately.
Input schema
{ "site_id": "…", "range": { "start", "end" }, "format": "enum: 'jsonl' | 'csv' | 'both'" }
Output schema
{ "export_url": "…", "expires_at": "…", "sessions": 0, "messages": 0, "credits_used": 3 }
Example invocations
1. Claude Desktop
Export last month's chats for site_xyz as both JSONL and CSV.
2. ChatGPT custom GPT
For monthly compliance pulls, call chat_export with the prior month's range and store the URL in a tracker.
3. Cursor MCP
Build a script that exports each site weekly and uploads the archive to S3.
4. n8n
{ "jsonrpc": "2.0", "method": "tools/call", "params": { "name": "chat_export", "arguments": { "site_id": "site_xyz", "range": { "start": "2026-04-01", "end": "2026-04-30" } } } }
5. Raw curl
curl -X POST https://www.mentionfox.com/mcp \ -H "Authorization: Bearer $FOXAPIS_KEY" \ -d '{"jsonrpc":"2.0","method":"tools/call","params":{"name":"chat_export","arguments":{"site_id":"site_xyz","range":{"start":"2026-04-01","end":"2026-04-30"},"format":"both"}}}'
Sample output
{ "export_url": "https://exports.foxapis.com/abc123.zip", "expires_at": "2026-05-10T16:00:00Z", "sessions": 412, "messages": 2917, "credits_used": 3 }
Data sources
MentionFox surfaces mentions across 50+ public platforms — forums, communities, news, podcasts, video transcripts, niche subreddits, and more. We don't crawl private channels like Slack or Discord (those stay private by design). Every claim in your reports is citation-linked back to its source.
Credit cost & rate limits
3 credits per export. 30 per minute. Archives over 50 MB are split.
Error codes & recovery
422 RANGE_TOO_LARGERange exceeds 90 days.404 NO_SITESite id not found.