API for managing personal memory items with authentication and user-specific data.
API for managing personal memory items with authentication and user-specific data.
This API supports three authentication methods:
X-API-Key headerX-API-Key: <your-api-key>X-Session-Token headerX-Session-Token: <your-session-token>Authorization headerAuthorization: Bearer <token>All endpoints require one of these authentication methods.
Process all stored messages in a session that were previously stored with process_messages=false.
Authentication Required: Bearer token, API key, or session token
This endpoint allows you to retroactively process messages that were initially stored without processing. Useful for:
Processing Behavior:
curl -i -X POST \
'http://memory.papr.ai/v1/messages/sessions/{session_id}/process' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'curl -i -X POST \
http://memory.papr.ai/v1/omo/export \
-H 'Content-Type: application/json' \
-H 'X-API-Key: YOUR_API_KEY_HERE' \
-d '{
"memory_ids": [
"string"
]
}'{ "code": 200, "status": "success", "count": 0, "memories": [ {} ], "error": "string" }
curl -i -X POST \
http://memory.papr.ai/v1/omo/import \
-H 'Content-Type: application/json' \
-H 'X-API-Key: YOUR_API_KEY_HERE' \
-d '{
"memories": [
{}
],
"skip_duplicates": true
}'{ "code": 200, "status": "success", "imported": 0, "skipped": 0, "errors": [ {} ], "memory_ids": [ "string" ] }