Papr Memory API (1.0.0)

API for managing memory, context, and retrieval for AI agents or apps with authentication and user-specific data.

Authentication

This API supports three authentication methods:

  • API Key: Include your API key in the X-API-Key header
    X-API-Key: <your-api-key>
  • Session Token: Include your session token in the X-Session-Token header
    X-Session-Token: <your-session-token>
  • Bearer Token: Include your OAuth2 token from Auth0 in the Authorization header
    Authorization: Bearer <token>

All endpoints require one of these authentication methods.

Download OpenAPI description
Languages
Servers
Production server
http://memory.papr.ai/

v1

Operations

Graphql Playground

Request

GraphQL Playground (development only)

curl -i -X GET \
  http://memory.papr.ai/v1/graphql

Responses

Successful Response

Bodyapplication/json
any
Response
application/json
null

Graphql Proxy

Request

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:

  • Bearer token in Authorization header
  • API Key in X-API-Key header
  • Session token in X-Session-Token header

Request 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'

Responses

Successful Response

Bodyapplication/json
any
Response
application/json
null

Memory

Operations

User

Operations

Feedback

Operations

Document

Operations

Schema Management

Operations

GraphQL

Operations