Memories
Retrieve a memory
Read a note by its ID.
GET
/
api
/
v2
/
memories
/
{id}
from hai_agents import Client
client = Client()
note = client.memories.get_memory(memory_id)
print(note.value)
import { HaiAgentsClient } from "hai-agents";
const client = new HaiAgentsClient();
const note = await client.memories.getMemory({ id: memoryId });
console.log(note.value);
curl "https://agp.eu.hcompany.ai/api/v2/memories/$MEMORY_ID" -H "Authorization: Bearer $HAI_API_KEY"
holo memories get "$MEMORY_ID"
{
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"namespace": "market-research",
"key": "preferences/report-format",
"value": "Tables, with a source link per row.",
"created_at": "2026-12-02T10:00:00Z",
"updated_at": "2026-12-02T10:00:00Z",
"delete_after_min": null
}
Path parameters
Response
200 with the memory object.
from hai_agents import Client
client = Client()
note = client.memories.get_memory(memory_id)
print(note.value)
import { HaiAgentsClient } from "hai-agents";
const client = new HaiAgentsClient();
const note = await client.memories.getMemory({ id: memoryId });
console.log(note.value);
curl "https://agp.eu.hcompany.ai/api/v2/memories/$MEMORY_ID" -H "Authorization: Bearer $HAI_API_KEY"
holo memories get "$MEMORY_ID"
{
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"namespace": "market-research",
"key": "preferences/report-format",
"value": "Tables, with a source link per row.",
"created_at": "2026-12-02T10:00:00Z",
"updated_at": "2026-12-02T10:00:00Z",
"delete_after_min": null
}
Errors
404 if the note is absent or belongs to another organization. 422 for invalid input. See common errors.Was this page helpful?
⌘I
from hai_agents import Client
client = Client()
note = client.memories.get_memory(memory_id)
print(note.value)
import { HaiAgentsClient } from "hai-agents";
const client = new HaiAgentsClient();
const note = await client.memories.getMemory({ id: memoryId });
console.log(note.value);
curl "https://agp.eu.hcompany.ai/api/v2/memories/$MEMORY_ID" -H "Authorization: Bearer $HAI_API_KEY"
holo memories get "$MEMORY_ID"
{
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"namespace": "market-research",
"key": "preferences/report-format",
"value": "Tables, with a source link per row.",
"created_at": "2026-12-02T10:00:00Z",
"updated_at": "2026-12-02T10:00:00Z",
"delete_after_min": null
}