v1
Memory

Update Memory V1

Update an existing memory item by 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

**Required Headers**:
- Content-Type: application/json
- X-Client-Type: (e.g., 'papr_plugin', 'browser_extension')

The API validates content size against MAX_CONTENT_LENGTH environment variable (defaults to 15000 bytes).
put/v1/memory/{memory_id}

Path parameters

memory_idstring required

Query parameters

enable_holographicboolean

If True, re-processes holographic neural transforms after content update

If True, re-processes holographic neural transforms after content update

frequency_schema_idstring nullable

Frequency schema for holographic embedding (e.g. 'cosqa', 'scifact').

Frequency schema for holographic embedding (e.g. 'cosqa', 'scifact').

Request body

contentstring nullable

The new content of the memory item

type'text' | 'code_snippet' | 'document'

Valid memory types

organization_idstring nullable

Optional organization ID for multi-tenant memory scoping. When provided, update is scoped to memories within this organization.

namespace_idstring nullable

Optional namespace ID for multi-tenant memory scoping. When provided, update is scoped to memories within this namespace.

Example request

{
  "content": "Updated meeting notes from the product planning session",
  "context": [
    {
      "content": "Let's update the Q2 product roadmap",
      "role": "user"
    },
    {
      "content": "I'll help you update the roadmap. What changes would you like to make?",
      "role": "assistant"
    }
  ],
  "metadata": {
    "emoji tags": "📊,💡,📝,✨",
    "emotion tags": "focused, productive, satisfied",
    "hierarchical structures": "Business/Planning/Product/Updates",
    "topics": "product, planning, updates"
  },
  "relationships_json": [
    {
      "metadata": {
        "relevance": "high"
      },
      "related_item_id": "previous_memory_item_id",
      "related_item_type": "TextMemoryItem",
      "relation_type": "updates"
    }
  ],
  "type": "text"
}

Response

Memory successfully updated

codeinteger

HTTP status code

statusstring

'success' or 'error'

errorstring nullable

Error message if failed

{"stackTrail":"components:schemas:UpdateMemoryResponse:properties:details:anyOf","oasType":"schema","type":"unknown","title":"Details","description":"Additional error details or context","nullable":true}
messagestring nullable

Status message

Changes

Changed in 8 of the 37 revisions of this API.9166

  • f29d29d1ad16113See the full diff
    • ▲

      removed from the // request property anyOf list

      request-property-any-of-removed

    • ○

      added subschema #1 to the // request property anyOf list

      request-property-any-of-added

    • ○

      added subschema #1 to the ///// response property anyOf list for the response status

      response-property-any-of-added

    • ○

      added subschema #1 to the ///// response property anyOf list for the response status

      response-property-any-of-added

    • ○

      added subschema #1 to the ///// response property anyOf list for the response status

      response-property-any-of-added

    • ○

      added subschema #1 to the ///// response property anyOf list for the response status

      response-property-any-of-added

    • ○

      added subschema #1 to the ///// response property anyOf list for the response status

      response-property-any-of-added

    • ○

      added subschema #1 to the ///// response property anyOf list for the response status

      response-property-any-of-added

    • ○

      removed from the ///// response property anyOf list for the response status

      response-property-any-of-removed

    • ○

      removed from the ///// response property anyOf list for the response status

      response-property-any-of-removed

    • ○

      removed from the ///// response property anyOf list for the response status

      response-property-any-of-removed

    • ○

      removed from the ///// response property anyOf list for the response status

      response-property-any-of-removed

    • ○

      removed from the ///// response property anyOf list for the response status

      response-property-any-of-removed

    • ○

      removed from the ///// response property anyOf list for the response status

      response-property-any-of-removed

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • 22d84aa060d6113See the full diff
    • ▲

      removed subschema #1 from the // request property anyOf list

      request-property-any-of-removed

    • ○

      added to the // request property anyOf list

      request-property-any-of-added

    • ○

      added to the ///// response property anyOf list for the response status

      response-property-any-of-added

    • ○

      added to the ///// response property anyOf list for the response status

      response-property-any-of-added

    • ○

      added to the ///// response property anyOf list for the response status

      response-property-any-of-added

    • ○

      added to the ///// response property anyOf list for the response status

      response-property-any-of-added

    • ○

      added to the ///// response property anyOf list for the response status

      response-property-any-of-added

    • ○

      added to the ///// response property anyOf list for the response status

      response-property-any-of-added

    • ○

      removed subschema #1 from the ///// response property anyOf list for the response status

      response-property-any-of-removed

    • ○

      removed subschema #1 from the ///// response property anyOf list for the response status

      response-property-any-of-removed

    • ○

      removed subschema #1 from the ///// response property anyOf list for the response status

      response-property-any-of-removed

    • ○

      removed subschema #1 from the ///// response property anyOf list for the response status

      response-property-any-of-removed

    • ○

      removed subschema #1 from the ///// response property anyOf list for the response status

      response-property-any-of-removed

    • ○

      removed subschema #1 from the ///// response property anyOf list for the response status

      response-property-any-of-removed

    This revision also has 8 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • 02daa1da4e82113See the full diff
    • ▲

      removed from the // request property anyOf list

      request-property-any-of-removed

    • ○

      added subschema #1 to the // request property anyOf list

      request-property-any-of-added

    • ○

      added subschema #1 to the ///// response property anyOf list for the response status

      response-property-any-of-added

    • ○

      added subschema #1 to the ///// response property anyOf list for the response status

      response-property-any-of-added

    • ○

      added subschema #1 to the ///// response property anyOf list for the response status

      response-property-any-of-added

    • ○

      added subschema #1 to the ///// response property anyOf list for the response status

      response-property-any-of-added

    • ○

      added subschema #1 to the ///// response property anyOf list for the response status

      response-property-any-of-added

    • ○

      added subschema #1 to the ///// response property anyOf list for the response status

      response-property-any-of-added

    • ○

      removed from the ///// response property anyOf list for the response status

      response-property-any-of-removed

    • ○

      removed from the ///// response property anyOf list for the response status

      response-property-any-of-removed

    • ○

      removed from the ///// response property anyOf list for the response status

      response-property-any-of-removed

    • ○

      removed from the ///// response property anyOf list for the response status

      response-property-any-of-removed

    • ○

      removed from the ///// response property anyOf list for the response status

      response-property-any-of-removed

    • ○

      removed from the ///// response property anyOf list for the response status

      response-property-any-of-removed

    • ○

      added the new optional request property

      new-optional-request-property

    • ○

      request property deprecated

      request-property-deprecated

    • ○

      request property deprecated

      request-property-deprecated

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • ○

      added the new optional query request parameter enable_holographic

      new-optional-request-parameter

    • ○

      added the new optional query request parameter frequency_schema_id

      new-optional-request-parameter

    • ○

      added the new optional request property /////////

      new-optional-request-property

    • ○

      added the new optional request property /////////

      new-optional-request-property

    • ○

      added the optional property // to the response with the status

      response-optional-property-added

    • ○

      added the optional property // to the response with the status

      response-optional-property-added

  • 5f5df128dbcd653See the full diff
    • ▲

      response property memory_items/anyOf[subschema #1]/items/metadata/anyOf[subschema #1: MemoryMetadata]/hierarchical_structures list-of-types was widened by adding types array to media type application/json of response 200

      response-property-list-of-types-widened

    • ▲

      response property memory_items/anyOf[subschema #1]/items/metadata/anyOf[subschema #1: MemoryMetadata]/hierarchical_structures list-of-types was widened by adding types array to media type application/json of response 400

      response-property-list-of-types-widened

    • ▲

      response property memory_items/anyOf[subschema #1]/items/metadata/anyOf[subschema #1: MemoryMetadata]/hierarchical_structures list-of-types was widened by adding types array to media type application/json of response 401

      response-property-list-of-types-widened

    • ▲

      response property memory_items/anyOf[subschema #1]/items/metadata/anyOf[subschema #1: MemoryMetadata]/hierarchical_structures list-of-types was widened by adding types array to media type application/json of response 404

      response-property-list-of-types-widened

    • ▲

      response property memory_items/anyOf[subschema #1]/items/metadata/anyOf[subschema #1: MemoryMetadata]/hierarchical_structures list-of-types was widened by adding types array to media type application/json of response 413

      response-property-list-of-types-widened

    • ▲

      response property memory_items/anyOf[subschema #1]/items/metadata/anyOf[subschema #1: MemoryMetadata]/hierarchical_structures list-of-types was widened by adding types array to media type application/json of response 500

      response-property-list-of-types-widened

    • ○

      added the new optional request property

      new-optional-request-property

    • ○

      added the new optional request property

      new-optional-request-property

    • ○

      added the new optional request property

      new-optional-request-property

    • ○

      added the new optional request property //

      new-optional-request-property

    • ○

      added the new optional request property //

      new-optional-request-property

    • ○

      added the new optional request property //

      new-optional-request-property

    • ○

      request property // deprecated

      request-property-deprecated

    • ○

      request property // deprecated

      request-property-deprecated

    • ○

      request property // deprecated

      request-property-deprecated

    • ○

      request property // deprecated

      request-property-deprecated

    • ○

      request property // list-of-types was widened by adding types array to media type application/json

      request-property-list-of-types-widened

    • ○

      added the optional property ///// to the response with the status

      response-optional-property-added

    • ○

      added the optional property ///// to the response with the status

      response-optional-property-added

    • ○

      added the optional property ///// to the response with the status

      response-optional-property-added

    • ○

      added the optional property ///// to the response with the status

      response-optional-property-added

    • ○

      added the optional property ///// to the response with the status

      response-optional-property-added

    • ○

      added the optional property ///// to the response with the status

      response-optional-property-added

    • ○

      added the optional property ///// to the response with the status

      response-optional-property-added

    • ○

      added the optional property ///// to the response with the status

      response-optional-property-added

    • ○

      added the optional property ///// to the response with the status

      response-optional-property-added

    • ○

      added the optional property ///// to the response with the status

      response-optional-property-added

    • ○

      added the optional property ///// to the response with the status

      response-optional-property-added

    • ○

      added the optional property ///// to the response with the status

      response-optional-property-added

    • ○

      added the optional property ///// to the response with the status

      response-optional-property-added

    • ○

      added the optional property ///// to the response with the status

      response-optional-property-added

    • ○

      added the optional property ///// to the response with the status

      response-optional-property-added

    • ○

      added the optional property ///// to the response with the status

      response-optional-property-added

    • ○

      added the optional property ///// to the response with the status

      response-optional-property-added

    • ○

      added the optional property ///// to the response with the status

      response-optional-property-added

    • ○

      response property memory_items/anyOf[subschema #1]/items/metadata/anyOf[subschema #1: MemoryMetadata]/external_user_id deprecated

      response-property-deprecated

    • ○

      response property memory_items/anyOf[subschema #1]/items/metadata/anyOf[subschema #1: MemoryMetadata]/external_user_id deprecated

      response-property-deprecated

    • ○

      response property memory_items/anyOf[subschema #1]/items/metadata/anyOf[subschema #1: MemoryMetadata]/external_user_id deprecated

      response-property-deprecated

    • ○

      response property memory_items/anyOf[subschema #1]/items/metadata/anyOf[subschema #1: MemoryMetadata]/external_user_id deprecated

      response-property-deprecated

    • ○

      response property memory_items/anyOf[subschema #1]/items/metadata/anyOf[subschema #1: MemoryMetadata]/external_user_id deprecated

      response-property-deprecated

    • ○

      response property memory_items/anyOf[subschema #1]/items/metadata/anyOf[subschema #1: MemoryMetadata]/external_user_id deprecated

      response-property-deprecated

    • ○

      response property memory_items/anyOf[subschema #1]/items/metadata/anyOf[subschema #1: MemoryMetadata]/namespace_id deprecated

      response-property-deprecated

    • ○

      response property memory_items/anyOf[subschema #1]/items/metadata/anyOf[subschema #1: MemoryMetadata]/namespace_id deprecated

      response-property-deprecated

    • ○

      response property memory_items/anyOf[subschema #1]/items/metadata/anyOf[subschema #1: MemoryMetadata]/namespace_id deprecated

      response-property-deprecated

    • ○

      response property memory_items/anyOf[subschema #1]/items/metadata/anyOf[subschema #1: MemoryMetadata]/namespace_id deprecated

      response-property-deprecated

    • ○

      response property memory_items/anyOf[subschema #1]/items/metadata/anyOf[subschema #1: MemoryMetadata]/namespace_id deprecated

      response-property-deprecated

    • ○

      response property memory_items/anyOf[subschema #1]/items/metadata/anyOf[subschema #1: MemoryMetadata]/namespace_id deprecated

      response-property-deprecated

    • ○

      response property memory_items/anyOf[subschema #1]/items/metadata/anyOf[subschema #1: MemoryMetadata]/organization_id deprecated

      response-property-deprecated

    • ○

      response property memory_items/anyOf[subschema #1]/items/metadata/anyOf[subschema #1: MemoryMetadata]/organization_id deprecated

      response-property-deprecated

    • ○

      response property memory_items/anyOf[subschema #1]/items/metadata/anyOf[subschema #1: MemoryMetadata]/organization_id deprecated

      response-property-deprecated

    • ○

      response property memory_items/anyOf[subschema #1]/items/metadata/anyOf[subschema #1: MemoryMetadata]/organization_id deprecated

      response-property-deprecated

    • ○

      response property memory_items/anyOf[subschema #1]/items/metadata/anyOf[subschema #1: MemoryMetadata]/organization_id deprecated

      response-property-deprecated

    • ○

      response property memory_items/anyOf[subschema #1]/items/metadata/anyOf[subschema #1: MemoryMetadata]/organization_id deprecated

      response-property-deprecated

    • ○

      response property memory_items/anyOf[subschema #1]/items/metadata/anyOf[subschema #1: MemoryMetadata]/user_id deprecated

      response-property-deprecated

    • ○

      response property memory_items/anyOf[subschema #1]/items/metadata/anyOf[subschema #1: MemoryMetadata]/user_id deprecated

      response-property-deprecated

    • ○

      response property memory_items/anyOf[subschema #1]/items/metadata/anyOf[subschema #1: MemoryMetadata]/user_id deprecated

      response-property-deprecated

    • ○

      response property memory_items/anyOf[subschema #1]/items/metadata/anyOf[subschema #1: MemoryMetadata]/user_id deprecated

      response-property-deprecated

    • ○

      response property memory_items/anyOf[subschema #1]/items/metadata/anyOf[subschema #1: MemoryMetadata]/user_id deprecated

      response-property-deprecated

    • ○

      response property memory_items/anyOf[subschema #1]/items/metadata/anyOf[subschema #1: MemoryMetadata]/user_id deprecated

      response-property-deprecated

    • ○

      added the new optional request property //

      new-optional-request-property

    • ○

      added the new optional request property //

      new-optional-request-property

    • ○

      added the new optional request property //

      new-optional-request-property

    • ○

      added the new optional request property //

      new-optional-request-property

    • ○

      added the optional property ///// to the response with the status

      response-optional-property-added

    • ○

      added the optional property ///// to the response with the status

      response-optional-property-added

    • ○

      added the optional property ///// to the response with the status

      response-optional-property-added

    • ○

      added the optional property ///// to the response with the status

      response-optional-property-added

    • ○

      added the optional property ///// to the response with the status

      response-optional-property-added

    • ○

      added the optional property ///// to the response with the status

      response-optional-property-added

    • ○

      added the optional property ///// to the response with the status

      response-optional-property-added

    • ○

      added the optional property ///// to the response with the status

      response-optional-property-added

    • ○

      added the optional property ///// to the response with the status

      response-optional-property-added

    • ○

      added the optional property ///// to the response with the status

      response-optional-property-added

    • ○

      added the optional property ///// to the response with the status

      response-optional-property-added

    • ○

      added the optional property ///// to the response with the status

      response-optional-property-added

    • ○

      added the optional property ///// to the response with the status

      response-optional-property-added

    • ○

      added the optional property ///// to the response with the status

      response-optional-property-added

    • ○

      added the optional property ///// to the response with the status

      response-optional-property-added

    • ○

      added the optional property ///// to the response with the status

      response-optional-property-added

    • ○

      added the optional property ///// to the response with the status

      response-optional-property-added

    • ○

      added the optional property ///// to the response with the status

      response-optional-property-added

    • ○

      added the optional property ///// to the response with the status

      response-optional-property-added

    • ○

      added the optional property ///// to the response with the status

      response-optional-property-added

    • ○

      added the optional property ///// to the response with the status

      response-optional-property-added

    • ○

      added the optional property ///// to the response with the status

      response-optional-property-added

    • ○

      added the optional property ///// to the response with the status

      response-optional-property-added

    • ○

      added the optional property ///// to the response with the status

      response-optional-property-added

    • ○

      added the new optional request property //

      new-optional-request-property

    • ○

      added the new optional request property //

      new-optional-request-property

    • ○

      added the new optional request property //

      new-optional-request-property

    • ○

      added the new optional request property //

      new-optional-request-property

    • ○

      added the new optional request property //

      new-optional-request-property

    • ○

      added the new optional request property

      new-optional-request-property

    • ○

      added the new optional request property

      new-optional-request-property

    • ○

      added the optional property ///// to the response with the status

      response-optional-property-added

    • ○

      added the optional property ///// to the response with the status

      response-optional-property-added

    • ○

      added the optional property ///// to the response with the status

      response-optional-property-added

    • ○

      added the optional property ///// to the response with the status

      response-optional-property-added

    • ○

      added the optional property ///// to the response with the status

      response-optional-property-added

    • ○

      added the optional property ///// to the response with the status

      response-optional-property-added

    • ○

      added the optional property ///// to the response with the status

      response-optional-property-added

    • ○

      added the optional property ///// to the response with the status

      response-optional-property-added

    • ○

      added the optional property ///// to the response with the status

      response-optional-property-added

    • ○

      added the optional property ///// to the response with the status

      response-optional-property-added

    • ○

      added the optional property ///// to the response with the status

      response-optional-property-added

    • ○

      added the optional property ///// to the response with the status

      response-optional-property-added

    • ○

      added the optional property ///// to the response with the status

      response-optional-property-added

    • ○

      added the optional property ///// to the response with the status

      response-optional-property-added

    • ○

      added the optional property ///// to the response with the status

      response-optional-property-added

    • ○

      added the optional property ///// to the response with the status

      response-optional-property-added

    • ○

      added the optional property ///// to the response with the status

      response-optional-property-added

    • ○

      added the optional property ///// to the response with the status

      response-optional-property-added

    • ○

      added the optional property ///// to the response with the status

      response-optional-property-added

    • ○

      added the optional property ///// to the response with the status

      response-optional-property-added

    • ○

      added the optional property ///// to the response with the status

      response-optional-property-added

    • ○

      added the optional property ///// to the response with the status

      response-optional-property-added

    • ○

      added the optional property ///// to the response with the status

      response-optional-property-added

    • ○

      added the optional property ///// to the response with the status

      response-optional-property-added

    • ○

      added the optional property ///// to the response with the status

      response-optional-property-added

    • ○

      added the optional property ///// to the response with the status

      response-optional-property-added

    • ○

      added the optional property ///// to the response with the status

      response-optional-property-added

    • ○

      added the optional property ///// to the response with the status

      response-optional-property-added

    • ○

      added the optional property ///// to the response with the status

      response-optional-property-added

    • ○

      added the optional property ///// to the response with the status

      response-optional-property-added

    This revision also has 12 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog