Price: FREE
Export memories in various formats for backup or migration purposes.
Query Parameters
Output format: json, csv, or markdown. Default: json.
Filter by memory type: correction, preference, decision, project, observation, or general.
Comma-separated tags to filter by.
ISO 8601 date string. Only return memories created before this time.
ISO 8601 date string. Only return memories created after this time.
Set to true to include soft-deleted memories. Default: false.
Response (200 OK)
The format used for export.
Array of memory objects (JSON) or formatted output (CSV/Markdown).
Total number of exported memories.
Example
# Export all memories as JSON
curl https://api.memoclaw.com/v1/export \
-H "Authorization: Bearer <token>"
# Export as CSV
curl "https://api.memoclaw.com/v1/export?format=csv" \
-H "Authorization: Bearer <token>"
# Export specific namespace
curl "https://api.memoclaw.com/v1/export?namespace=acme-project" \
-H "Authorization: Bearer <token>"
{
"format": "json",
"memories": [
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"content": "User prefers dark mode",
"importance": 0.8,
"memory_type": "preference",
"namespace": "default",
"tags": ["ui", "preferences"],
"created_at": "2026-02-13T10:30:00Z",
"updated_at": "2026-02-13T10:30:00Z"
}
],
"count": 1
}