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

List available domains (builtins + caller's custom domains)

Request

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

Responses

Successful Response

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

Snake_case signal identifier.

domains[].​signals[].​descriptionstring(Description)required

Human prompt used by extractor.

domains[].​signals[].​weightnumber(Weight)

Relative weight in the fusion.

Default 1
domains[].​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.

domains[].​signals[].​typestring(Type)

Extraction / phase type for this signal.

Default "text"
Enum"enum""text""numeric""date""boolean""multi_value_text"
domains[].​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.

domains[].​signals[].​requiredboolean(Required)

Warn when missing at extract time.

Default false
domains[].​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).

domains[].​routing_configGraphDomainRoutingConfig (object) or null

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

Any of:

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

domains[].​catalog_configDomainCatalogConfig (object) or null

Catalog settings (see DomainCatalogConfig).

Any of:

Catalog settings (see DomainCatalogConfig).

domains[].​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.

domains[].​catalog_bufferArray of objects(Catalog Buffer)

Buffered raw signals awaiting LLM clustering (internal).

domains[].​builtinboolean(Builtin)

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

Default false
domains[].​created_atCreated At (string) or Created At (null)(Created At)
Any of:
string(Created At)
domains[].​owner_user_idOwner User Id (string) or Owner User Id (null)(Owner User Id)
Any of:
string(Owner User Id)
domains[].​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.

domains[].​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.

domains[].​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
{ "domains": [ {} ] }

Create a custom domain

Request

Bodyapplication/jsonrequired
domain_idstring(Domain Id)required

Custom id, e.g. 'acme:support_tickets:1.0.0'.

namestring(Name)required

Human-readable domain name.

descriptionstring(Description)required

What this domain models.

signalsArray of objects(Signals)non-emptyrequired

Per-domain signal definitions.

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 weight multipliers. Applied automatically on every rerank/search request for this domain (unless the caller supplies their own signal_multipliers, which take priority). Keys are field names (e.g. 'key_claim') or Hz-strings (e.g. '70.0'). Values: 0.0 = disable band, 1.0 = unchanged, 2.0 = 2× boost.

Any of:

Domain-level default signal weight multipliers. Applied automatically on every rerank/search request for this domain (unless the caller supplies their own signal_multipliers, which take priority). Keys are field names (e.g. 'key_claim') or Hz-strings (e.g. '70.0'). Values: 0.0 = disable band, 1.0 = unchanged, 2.0 = 2× boost.

routing_configGraphDomainRoutingConfig (object) or null

Domain-level CAESAR-VIII routing config: disabled global rules, enabled domain rule packs, optional threshold overrides.

Any of:

Domain-level CAESAR-VIII routing config: disabled global rules, enabled domain rule packs, optional threshold overrides.

catalog_configDomainCatalogConfig (object) or null

Catalog settings. When enabled (default), raw signal values are auto-accumulated on every transform call and periodically clustered by an LLM for introspection. Pass {enabled: false} to disable.

Any of:

Catalog settings. When enabled (default), raw signal values are auto-accumulated on every transform call and periodically clustered by an LLM for introspection. Pass {enabled: false} to disable.

curl -i -X POST \
  https://memory.papr.ai/v1/graph/domains \
  -H 'Content-Type: application/json' \
  -H 'X-API-Key: YOUR_API_KEY_HERE' \
  -d '{
    "domain_id": "string",
    "name": "string",
    "description": "string",
    "signals": [
      {
        "name": "string",
        "description": "string",
        "weight": 1,
        "frequency_hz": 0,
        "type": "enum",
        "allowed_values": [
          "string"
        ],
        "required": false
      }
    ],
    "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" }

Get the curated signal catalog for a domain

Request

Return the LLM-curated catalog showing what signal values exist in this domain.

The catalog is built incrementally from transform calls. It contains:

  • entity_clusters: semantically-grouped entity values
  • relationship_patterns: clustered relationship types
  • signal_value_counts: raw per-band value frequencies
  • domain_distribution: per-band document counts
  • total_documents: total transforms processed
Path
domain_idstring(Domain Id)required
curl -i -X GET \
  'https://memory.papr.ai/v1/graph/domains/{domain_id}/catalog' \
  -H 'X-API-Key: YOUR_API_KEY_HERE'

Responses

Successful Response

Bodyapplication/json
entity_clustersArray of objects(Entity Clusters)
relationship_patternsArray of objects(Relationship Patterns)
domain_distributionobject(Domain Distribution)

Signal band name -> total doc count.

signal_value_countsobject(Signal Value Counts)

Per-band raw value counts, e.g. {'domain': {'Health': 500, 'Tech': 200}}.

total_documentsinteger(Total Documents)

Total transforms processed.

Default 0
last_refreshedLast Refreshed (string) or Last Refreshed (null)(Last Refreshed)

ISO timestamp of last LLM clustering run.

Any of:

ISO timestamp of last LLM clustering run.

string(Last Refreshed)

ISO timestamp of last LLM clustering run.

last_updatedLast Updated (string) or Last Updated (null)(Last Updated)

ISO timestamp of last buffer append.

Any of:

ISO timestamp of last buffer append.

string(Last Updated)

ISO timestamp of last buffer append.

Response
application/json
{ "entity_clusters": [ {} ], "relationship_patterns": [ {} ], "domain_distribution": { "property1": 0, "property2": 0 }, "signal_value_counts": { "property1": {}, "property2": {} }, "total_documents": 0, "last_refreshed": "string", "last_updated": "string" }

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