/memory/contentGet Content
Fetch the full content of a specific memory by ID. Retrieves complete memory data from storage.
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| memoryId | string | Required | The memory ID to retrieve. |
| tenantId | string | Optional | Tenant organization ID for multi-tenant apps. |
Example Request
curl "https://memory.hypersparkai.com//api/v1/memory/content?memoryId=mem_abc123" \
-H "Authorization: Bearer hsmem_your_api_key"Response
{
"success": true,
"data": {
"memoryId": "mem_abc123",
"content": "User works at Acme Corp as a senior software engineer. They have been with the company for 3 years.",
"ring": "semantic",
"domain": "work",
"category": "identity",
"importance": 8,
"confidence": 0.95,
"tags": ["work", "acme-corp", "engineer"],
"source": {
"type": "conversation",
"context": "onboarding chat"
},
"createdAt": "2025-01-01T12:00:00.000Z",
"occurredAt": "2025-01-01T12:00:00.000Z"
}
}{ success: false, error: 'Memory not found' } if the memory does not exist.