CAIN-42 CAIN Studio

API reference · schema

MemorySanitizationRequest

2 fields · used by 0 operations

Last reviewed 2026-10-02

Fields

FieldTypeMeaning
raw_memory_text requiredstringUnsanitized memory string from agent session or tool output
source_sessionstring or nulldefault "session_default"

Smallest valid example

{
  "raw_memory_text": "raw-memory-text",
  "source_session": "session_default"
}

JSON Schema

Show the raw definition
{
  "properties": {
    "raw_memory_text": {
      "type": "string",
      "title": "Raw Memory Text",
      "description": "Unsanitized memory string from agent session or tool output"
    },
    "source_session": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Source Session",
      "default": "session_default"
    }
  },
  "type": "object",
  "required": [
    "raw_memory_text"
  ],
  "title": "MemorySanitizationRequest"
}

Try CAIN-42 on your own agents

Create a free account and every new account starts with a 7-day trial of the full platform. Or try the sandbox first, with no account at all.

Create a free account →  ·  Try the sandbox  ·  See the whole ecosystem