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

Delete User Schema V1

Request

Delete a schema.

Soft deletes the schema by marking it as archived. The schema data and associated graph nodes/relationships are preserved for data integrity. User must have write access to the schema.

Path
schema_idstring(Schema Id)required
curl -i -X DELETE \
  'http://memory.papr.ai/v1/schemas/{schema_id}' \
  -H 'X-API-Key: YOUR_API_KEY_HERE'

Responses

Schema deleted successfully

Bodyapplication/json
any
Response
application/json
null

Activate User Schema V1

Request

Activate or deactivate a schema.

Active schemas are used for memory extraction and graph generation. Multiple schemas can be active simultaneously and will be merged during the extraction process.

Path
schema_idstring(Schema Id)required
Bodyapplication/json
boolean(Activate)

True to activate, False to deactivate

Default true
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 '{}'

Responses

Schema activated successfully

Bodyapplication/json
any
Response
application/json
null

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

Memory

Operations

User

Operations

Feedback

Operations

Document

Operations

Schema Management

Operations

GraphQL

Operations