CAIN-42 CAIN Studio

API reference · schema

MemVaultWriteApiRequest

6 fields · used by 0 operations

Last reviewed 2026-10-03

Fields

FieldTypeMeaning
agent_id requiredstring
target_storestringdefault "pinecone"
memory_key requiredstring
content requiredstring
metadataobject
trajectory_idstring or null

Smallest valid example

{
  "agent_id": "agent-id",
  "target_store": "pinecone",
  "memory_key": "memory-key",
  "content": "content"
}

JSON Schema

Show the raw definition
{
  "properties": {
    "agent_id": {
      "type": "string",
      "title": "Agent Id"
    },
    "target_store": {
      "type": "string",
      "title": "Target Store",
      "default": "pinecone"
    },
    "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"
    }
  },
  "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 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