curl -X POST "https://api.memanto.ai/agents/my-agent/batch-remember" \
-H "x-api-key: $MEMANTO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"memories": [
{
"content": "Deploys go out on Tuesdays",
"type": "fact"
},
{
"content": "Use pnpm, not npm",
"type": "instruction",
"tags": [
"tooling"
]
}
]
}'
{
"agent_id": "my-agent",
"total_submitted": 2,
"successful": 2,
"failed": 0,
"results": [
{
"id": "8d1e…",
"status": "queued",
"action": "store",
"reason": "MVP direct store"
},
{
"id": "c47a…",
"status": "queued",
"action": "store",
"reason": "MVP direct store"
}
]
}
Memories
Batch Remember
Store up to 100 memories in one call.
POST
/
agents
/
{agent_id}
/
batch-remember
curl -X POST "https://api.memanto.ai/agents/my-agent/batch-remember" \
-H "x-api-key: $MEMANTO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"memories": [
{
"content": "Deploys go out on Tuesdays",
"type": "fact"
},
{
"content": "Use pnpm, not npm",
"type": "instruction",
"tags": [
"tooling"
]
}
]
}'
{
"agent_id": "my-agent",
"total_submitted": 2,
"successful": 2,
"failed": 0,
"results": [
{
"id": "8d1e…",
"status": "queued",
"action": "store",
"reason": "MVP direct store"
},
{
"id": "c47a…",
"status": "queued",
"action": "store",
"reason": "MVP direct store"
}
]
}
Overview
Stores up to 100 memories. Each item is validated on its own: a bad item is reported asfailed in results and the rest are still stored. results are in input order.
Authentication
Your Memanto Cloud API key (
mk_...). See Authentication.Path Parameters
Body
1–100 memories, each with the fields of Remember (
content required).Set
true when moving memories in from another store. Each item may then also carry its original created_at (ISO 8601, not in the future) and, for a memory that had expired, status: "expired" with expired_at and expired_by. Imports don’t count against API calls. memanto migrate to-cloud uses this.curl -X POST "https://api.memanto.ai/agents/my-agent/batch-remember" \
-H "x-api-key: $MEMANTO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"memories": [
{
"content": "Deploys go out on Tuesdays",
"type": "fact"
},
{
"content": "Use pnpm, not npm",
"type": "instruction",
"tags": [
"tooling"
]
}
]
}'
{
"agent_id": "my-agent",
"total_submitted": 2,
"successful": 2,
"failed": 0,
"results": [
{
"id": "8d1e…",
"status": "queued",
"action": "store",
"reason": "MVP direct store"
},
{
"id": "c47a…",
"status": "queued",
"action": "store",
"reason": "MVP direct store"
}
]
}