Skip to main content
POST
/
api
/
v2
/
agents
/
{agent_id}
/
remember
curl -X POST "http://localhost:8000/api/v2/agents/my-agent/remember?memory_type=fact&content=User%20prefers%20email" \
  -H "Authorization: Bearer your_api_key" \
  -H "X-Session-Token: your_session_token"
{
  "memory_id": "mem_abc123xyz",
  "agent_id": "my-agent",
  "type": "fact",
  "status": "queued"
}

Overview

Store one memory item for an agent.

Authentication

  • Authorization: Bearer your_api_key
  • X-Session-Token: {session_token}

Path Parameters

agent_id
string
required
Agent identifier.

Body Parameters

memory_type
string
required
Memory type.
content
string
required
Memory content.
title
string
Optional title.
confidence
number
Optional confidence.
curl -X POST "http://localhost:8000/api/v2/agents/my-agent/remember?memory_type=fact&content=User%20prefers%20email" \
  -H "Authorization: Bearer your_api_key" \
  -H "X-Session-Token: your_session_token"
{
  "memory_id": "mem_abc123xyz",
  "agent_id": "my-agent",
  "type": "fact",
  "status": "queued"
}

Response Fields

memory_id
string
Created memory ID.
agent_id
string
Agent ID.
type
string
Memory type.
status
string
Ingestion status.