API for managing memory, context, and retrieval for AI agents or apps with authentication and user-specific data.
API for managing memory, context, and retrieval for AI agents or apps 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.
curl -i -X POST \
'http://memory.papr.ai/v1/schemas/{schema_id}/activate' \
-H 'Content-Type: application/json' \
-H 'X-API-Key: YOUR_API_KEY_HERE' \
-d '{}'GraphQL endpoint for querying PAPR Memory using GraphQL.
This endpoint proxies GraphQL queries to Neo4j's hosted GraphQL endpoint, automatically applying multi-tenant authorization filters based on user_id and workspace_id.
Authentication Required: One of the following authentication methods must be used:
Authorization headerX-API-Key headerX-Session-Token headerRequest Body:
{
"query": "query { project(id: \"proj_123\") { name tasks { title } } }",
"variables": {},
"operationName": "GetProject"
}Example Query:
query GetProjectTasks($projectId: ID!) {
project(id: $projectId) {
name
tasks {
title
status
}
}
}All queries are automatically filtered by user_id and workspace_id for security.
curl -i -X POST \
http://memory.papr.ai/v1/graphql \
-H 'X-API-Key: YOUR_API_KEY_HERE'