CAIN-42 CAIN Studio

API reference · schema

MemoryCompactionRequest

3 fields · used by 1 operations

Last reviewed 2026-10-03

Fields

FieldTypeMeaning
original_text requiredstring
compacted_text requiredstring
min_retention_scorenumberdefault 0.75

Smallest valid example

{
  "original_text": "original-text",
  "compacted_text": "compacted-text",
  "min_retention_score": 0.75
}

Used by 1 operation

POST/fabric/memory/validate-compactionMemory Validate Compaction

JSON Schema

Show the raw definition
{
  "properties": {
    "original_text": {
      "type": "string",
      "title": "Original Text"
    },
    "compacted_text": {
      "type": "string",
      "title": "Compacted Text"
    },
    "min_retention_score": {
      "type": "number",
      "title": "Min Retention Score",
      "default": 0.75
    }
  },
  "type": "object",
  "required": [
    "original_text",
    "compacted_text"
  ],
  "title": "MemoryCompactionRequest"
}

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