API reference · schema
StoreMemoryRequest
17 fields · used by 1 operations
Last reviewed 2026-10-02
Fields
| Field | Type | Meaning |
|---|---|---|
agent_id required | string | min length 1 · max length 255 |
memory_type required | string | pattern ^(episodic|semantic|procedural|preference|task|working|factual|experience|instruction|observation)$ |
content required | string | min length 1 · max length 65536 |
source | string | pattern ^(agent|tool|human|delegated|system)$ · default "agent" |
identity_id | string or null | |
source_type | string | default "agent" |
source_reference | string or null | |
confidence | number | min 0.0 · max 1.0 · default 0.5 |
tags | array of string or null | |
metadata | object or null | |
expires_at | string or null | |
provenance | object or null | |
evidence_id | string or null | |
decision_id | string or null | |
trace_id | string or null | |
trajectory_id | string or null | |
sensitivity | string | pattern ^(internal|confidential|restricted|public)$ · default "internal" |
Smallest valid example
{
"agent_id": "agent-id",
"memory_type": "memory-type",
"content": "content",
"source": "agent",
"source_type": "agent",
"confidence": 0.5,
"sensitivity": "internal"
}Used by 1 operation
| POST | /fabric/memory/store | Api Store Memory |
JSON Schema
Show the raw definition
{
"properties": {
"agent_id": {
"type": "string",
"maxLength": 255,
"minLength": 1,
"title": "Agent Id"
},
"memory_type": {
"type": "string",
"pattern": "^(episodic|semantic|procedural|preference|task|working|factual|experience|instruction|observation)$",
"title": "Memory Type"
},
"content": {
"type": "string",
"maxLength": 65536,
"minLength": 1,
"title": "Content"
},
"source": {
"type": "string",
"pattern": "^(agent|tool|human|delegated|system)$",
"title": "Source",
"default": "agent"
},
"identity_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Identity Id"
},
"source_type": {
"type": "string",
"title": "Source Type",
"default": "agent"
},
"source_reference": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Source Reference"
},
"confidence": {
"type": "number",
"maximum": 1.0,
"minimum": 0.0,
"title": "Confidence",
"default": 0.5
},
"tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Tags"
},
"metadata": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"title": "Metadata"
},
"expires_at": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Expires At"
},
"provenance": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"title": "Provenance"
},
"evidence_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Evidence Id"
},
"decision_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Decision Id"
},
"trace_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Trace Id"
},
"trajectory_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Trajectory Id"
},
"sensitivity": {
"type": "string",
"pattern": "^(internal|confidential|restricted|public)$",
"title": "Sensitivity",
"default": "internal"
}
},
"type": "object",
"required": [
"agent_id",
"memory_type",
"content"
],
"title": "StoreMemoryRequest"
}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