CAIN-42 MCPGate

API reference · schema

MemVaultWriteApiRequest

11 fields · used by 0 operations

Last reviewed 2026-11-06

Fields

FieldTypeMeaning
agent_id requiredstring
target_storestringdefault "memvault"
memory_key requiredstring
content requiredstring
metadataobject
trajectory_idstring or null
vectorarray of number or null
source_typestringdefault "agent"
source_idstringdefault ""
truststring or null
namespacestring or null

Smallest valid example

{
  "agent_id": "agent-id",
  "target_store": "memvault",
  "memory_key": "memory-key",
  "content": "content",
  "source_type": "agent",
  "source_id": ""
}

JSON Schema

Show the raw definition
{
  "properties": {
    "agent_id": {
      "type": "string",
      "title": "Agent Id"
    },
    "target_store": {
      "type": "string",
      "title": "Target Store",
      "default": "memvault"
    },
    "memory_key": {
      "type": "string",
      "title": "Memory Key"
    },
    "content": {
      "type": "string",
      "title": "Content"
    },
    "metadata": {
      "additionalProperties": true,
      "type": "object",
      "title": "Metadata"
    },
    "trajectory_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Trajectory Id"
    },
    "vector": {
      "anyOf": [
        {
          "items": {
            "type": "number"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Vector"
    },
    "source_type": {
      "type": "string",
      "title": "Source Type",
      "default": "agent"
    },
    "source_id": {
      "type": "string",
      "title": "Source Id",
      "default": ""
    },
    "trust": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Trust"
    },
    "namespace": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Namespace"
    }
  },
  "type": "object",
  "required": [
    "agent_id",
    "memory_key",
    "content"
  ],
  "title": "MemVaultWriteApiRequest"
}

Try CAIN-42 on your own agents

Create a free account and every new account starts with a 30-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