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.
Telemetry proxy endpoint for anonymous OSS adoption tracking.
This endpoint receives telemetry events from OSS installations and forwards them to Amplitude using Papr's API key (which stays secure on the server).
Privacy:
Opt-in: Users must explicitly enable telemetry in their OSS installation.
Request Body:
{
"events": [
{
"event_name": "memory_created",
"properties": {
"type": "text",
"has_metadata": true
},
"user_id": "hashed_user_id",
"timestamp": 1234567890000
}
],
"anonymous_id": "session_id"
}List of telemetry events to track
Event name (e.g., 'memory_created', 'search_performed')
Event properties (will be anonymized)
Event properties (will be anonymized)
Anonymous user ID (hashed)
Anonymous user ID (hashed)
Anonymous user ID (hashed)
curl -i -X POST \
http://memory.papr.ai/v1/telemetry/events \
-H 'Content-Type: application/json' \
-d '{
"events": [
{
"event_name": "string",
"properties": {},
"user_id": "string",
"timestamp": 0
}
],
"anonymous_id": "string"
}'{ "success": true, "events_received": 0, "events_processed": 0, "message": "string" }