Papr Memory API (1.0.0)

API for managing enterprise context and memory items 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
https://memory.papr.ai/

v1

Operations

Memory

Operations

Memory Status

Operations

User

Operations

Feedback

Operations

Schema Management

Operations

Messages

Operations

omo

Operations

Namespace

Operations

Graph (CAESAR-8)

Operations

Graph Domains

Operations

Instance Configuration

Operations

AI Proxy

Operations

Openai Completions Proxy

Request

OpenAI Chat Completions API proxy (GPT-4, GPT-4-turbo, etc.)

curl -i -X POST \
  https://memory.papr.ai/v1/ai/openai/chat/completions \
  -H 'X-API-Key: YOUR_API_KEY_HERE'

Responses

Successful Response

Bodyapplication/json
any
Response
application/json
null

Openai Responses Proxy

Request

OpenAI Responses API proxy (GPT-5+, o-series reasoning models)

curl -i -X POST \
  https://memory.papr.ai/v1/ai/openai/responses \
  -H 'X-API-Key: YOUR_API_KEY_HERE'

Responses

Successful Response

Bodyapplication/json
any
Response
application/json
null

Anthropic Messages Proxy

Request

Anthropic Messages API proxy (Claude models)

curl -i -X POST \
  https://memory.papr.ai/v1/ai/anthropic/messages \
  -H 'X-API-Key: YOUR_API_KEY_HERE'

Responses

Successful Response

Bodyapplication/json
any
Response
application/json
null

Google Generate Content Proxy

Request

Google Gemini generateContent API proxy

Path
model_idstring(Model Id)required
curl -i -X POST \
  'https://memory.papr.ai/v1/ai/google/models/{model_id}:generateContent' \
  -H 'X-API-Key: YOUR_API_KEY_HERE'

Responses

Successful Response

Bodyapplication/json
any
Response
application/json
null

Google Stream Generate Content Proxy

Request

Google Gemini streamGenerateContent API proxy

Path
model_idstring(Model Id)required
curl -i -X POST \
  'https://memory.papr.ai/v1/ai/google/models/{model_id}:streamGenerateContent' \
  -H 'X-API-Key: YOUR_API_KEY_HERE'

Responses

Successful Response

Bodyapplication/json
any
Response
application/json
null

Get Ai Usage

Request

Get user's AI proxy usage stats and subscription info.

curl -i -X GET \
  https://memory.papr.ai/v1/ai/usage \
  -H 'X-API-Key: YOUR_API_KEY_HERE'

Responses

Successful Response

Bodyapplication/json
any
Response
application/json
null

Sync

Operations

Telemetry

Operations

Document

Operations

GraphQL

Operations

Authentication

Operations