Papr Memory API (1.0.0)

API for managing personal 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

Update name, description, or signal_multipliers for a custom domain

Request

Path
domain_idstring(Domain Id)required
Bodyapplication/jsonrequired
nameName (string) or Name (null)(Name)

Updated human-readable name.

Any of:

Updated human-readable name.

string(Name)

Updated human-readable name.

descriptionDescription (string) or Description (null)(Description)

Updated description.

Any of:

Updated description.

string(Description)

Updated description.

signal_multipliersSignal Multipliers (object) or Signal Multipliers (null)(Signal Multipliers)

Replace the domain-level signal_multipliers entirely. Pass an empty dict {} to clear all multipliers. Omit the field to leave existing multipliers unchanged.

Any of:

Replace the domain-level signal_multipliers entirely. Pass an empty dict {} to clear all multipliers. Omit the field to leave existing multipliers unchanged.

routing_configGraphDomainRoutingConfig (object) or null

Replace the domain-level routing_config entirely. Pass null fields inside to clear. Omit to leave unchanged.

Any of:

Replace the domain-level routing_config entirely. Pass null fields inside to clear. Omit to leave unchanged.

catalog_configDomainCatalogConfig (object) or null

Update catalog settings. Pass {enabled: false} to disable signal accumulation. Omit to leave unchanged.

Any of:

Update catalog settings. Pass {enabled: false} to disable signal accumulation. Omit to leave unchanged.

curl -i -X PUT \
  'https://memory.papr.ai/v1/graph/domains/{domain_id}' \
  -H 'Content-Type: application/json' \
  -H 'X-API-Key: YOUR_API_KEY_HERE' \
  -d '{
    "name": "string",
    "description": "string",
    "signal_multipliers": {
      "property1": 0,
      "property2": 0
    },
    "routing_config": {
      "disabled_rules": [
        "string"
      ],
      "enabled_rule_packs": [
        "string"
      ],
      "threshold_overrides": {
        "property1": 0,
        "property2": 0
      },
      "enhanced_initial_source": "string",
      "holographic_floor": true,
      "ce_gate_min_phi": 0,
      "egr_lambda_ce": 0,
      "caesar4_source": "string"
    },
    "catalog_config": {
      "enabled": true,
      "refresh_every_n": 50
    }
  }'

Responses

Successful Response

Bodyapplication/json
domain_idstring(Domain Id)required
namestring(Name)required
descriptionstring(Description)required
signalsArray of objects(Signals)required
signals[].​namestring(Name)required

Snake_case signal identifier.

signals[].​descriptionstring(Description)required

Human prompt used by extractor.

signals[].​weightnumber(Weight)

Relative weight in the fusion.

Default 1
signals[].​frequency_hzFrequency Hz (number) or Frequency Hz (null)(Frequency Hz)

Hz band mapping (0.1 … 70.0). Auto-assigned if omitted.

Any of:

Hz band mapping (0.1 … 70.0). Auto-assigned if omitted.

number(Frequency Hz)

Hz band mapping (0.1 … 70.0). Auto-assigned if omitted.

signals[].​typestring(Type)

Extraction / phase type for this signal.

Default "text"
Enum"enum""text""numeric""date""boolean""multi_value_text"
signals[].​allowed_valuesArray of Allowed Values (strings) or Allowed Values (null)(Allowed Values)

For type='enum': allowed vocabulary.

Any of:

For type='enum': allowed vocabulary.

signals[].​requiredboolean(Required)

Warn when missing at extract time.

Default false
signal_multipliersSignal Multipliers (object) or Signal Multipliers (null)(Signal Multipliers)

Domain-level default signal multipliers (see GraphDomainCreate).

Any of:

Domain-level default signal multipliers (see GraphDomainCreate).

routing_configGraphDomainRoutingConfig (object) or null

Domain-level CAESAR-VIII routing config (see GraphDomainRoutingConfig).

Any of:

Domain-level CAESAR-VIII routing config (see GraphDomainRoutingConfig).

catalog_configDomainCatalogConfig (object) or null

Catalog settings (see DomainCatalogConfig).

Any of:

Catalog settings (see DomainCatalogConfig).

catalogDomainCatalog (object) or null

Curated catalog of signal values in this domain's frequency space.

Any of:

Curated catalog of signal values in this domain's frequency space.

catalog_bufferArray of objects(Catalog Buffer)

Buffered raw signals awaiting LLM clustering (internal).

builtinboolean(Builtin)

True for built-in domains shipped with Papr (read-only).

Default false
created_atCreated At (string) or Created At (null)(Created At)
Any of:
string(Created At)
owner_user_idOwner User Id (string) or Owner User Id (null)(Owner User Id)
Any of:
string(Owner User Id)
owner_workspace_idOwner Workspace Id (string) or Owner Workspace Id (null)(Owner Workspace Id)

Workspace that owns this domain. Domains are scoped to workspace when set.

Any of:

Workspace that owns this domain. Domains are scoped to workspace when set.

string(Owner Workspace Id)

Workspace that owns this domain. Domains are scoped to workspace when set.

owner_organization_idOwner Organization Id (string) or Owner Organization Id (null)(Owner Organization Id)

Organization that owns this domain.

Any of:

Organization that owns this domain.

string(Owner Organization Id)

Organization that owns this domain.

owner_namespace_idOwner Namespace Id (string) or Owner Namespace Id (null)(Owner Namespace Id)

Namespace this domain belongs to, if any.

Any of:

Namespace this domain belongs to, if any.

string(Owner Namespace Id)

Namespace this domain belongs to, if any.

Response
application/json
{ "domain_id": "string", "name": "string", "description": "string", "signals": [ {} ], "signal_multipliers": { "property1": 0, "property2": 0 }, "routing_config": { "disabled_rules": [], "enabled_rule_packs": [], "threshold_overrides": {}, "enhanced_initial_source": "string", "holographic_floor": true, "ce_gate_min_phi": 0, "egr_lambda_ce": 0, "caesar4_source": "string" }, "catalog_config": { "enabled": true, "refresh_every_n": 50 }, "catalog": { "entity_clusters": [], "relationship_patterns": [], "domain_distribution": {}, "signal_value_counts": {}, "total_documents": 0, "last_refreshed": "string", "last_updated": "string" }, "catalog_buffer": [ {} ], "builtin": false, "created_at": "string", "owner_user_id": "string", "owner_workspace_id": "string", "owner_organization_id": "string", "owner_namespace_id": "string" }

Delete a custom domain

Request

Path
domain_idstring(Domain Id)required
curl -i -X DELETE \
  'https://memory.papr.ai/v1/graph/domains/{domain_id}' \
  -H 'X-API-Key: YOUR_API_KEY_HERE'

Responses

Successful Response

Bodyapplication/json
domain_idstring(Domain Id)required
deletedboolean(Deleted)required
Response
application/json
{ "domain_id": "string", "deleted": true }

Set Namespace Instance Config

Request

Set dedicated instance configuration for a namespace.

Path
namespace_idstring(Namespace Id)required
Query
validateboolean(Validate)

Test connection before saving

Default false
Headers
X-API-Keystring(X-Api-Key)required
Bodyapplication/jsonrequired
neo4jNeo4jInstanceConfigInput (object) or null

Neo4j AuraDB instance configuration

Example: {"bolt_url":"neo4j+s://abc12345.databases.neo4j.io","graphql_endpoint":"https://abc12345-graphql.production-orch-0042.neo4j.io/graphql","password":"my-secret-password","username":"neo4j"}
Any of:

Neo4j AuraDB instance configuration

providerstring(Provider)

Cloud provider (only 'gcp' supported today)

Default "gcp"
Example: "gcp"
regionstring(Region)

Cloud region (only 'us-west1' supported today)

Default "us-west1"
Example: "us-west1"
curl -i -X PUT \
  'https://memory.papr.ai/v1/namespace/{namespace_id}/instance?validate=false' \
  -H 'Content-Type: application/json' \
  -H 'X-API-Key: string' \
  -d '{
    "neo4j": {
      "bolt_url": "neo4j+s://abc12345.databases.neo4j.io",
      "graphql_endpoint": "https://abc12345-graphql.production-orch-0042.neo4j.io/graphql",
      "password": "my-secret-password",
      "username": "neo4j"
    },
    "provider": "gcp",
    "region": "us-west1"
  }'

Responses

Successful Response

Bodyapplication/json
codeinteger(Code)

HTTP status code

Default 200
statusstring(Status)

'success' or 'error'

Default "success"
dataInstanceConfigItem (object) or null

Instance config if successful

Any of:

Instance config if successful

errorError (string) or Error (null)(Error)

Error message if failed

Any of:

Error message if failed

string(Error)

Error message if failed

detailsDetails (any) or Details (null)(Details)

Additional context

Any of:

Additional context

any(Details)

Additional context

Response
application/json
{ "code": 200, "status": "success", "data": { "neo4j": {}, "provider": "string", "region": "string", "scope": "string" }, "error": "string", "details": {} }

Memory

Operations

Memory Status

Operations

User

Operations

Feedback

Operations

Schema Management

Operations

Messages

Operations

omo

Operations

Namespace

Operations

Frequency Schemas

Operations

Holographic Transform (Deprecated)

Operations

Graph (CAESAR-8)

Operations

Graph Domains

Operations

Instance Configuration

Operations

AI Proxy

Operations

Sync

Operations

Telemetry

Operations

Document

Operations

GraphQL

Operations

Authentication

Operations