apps/docs/add-memories/parameters.mdx
Detailed parameter documentation for adding memories to Supermemory.
{
"content": "Machine learning is a subset of AI..."
}
URL Examples:
{
"content": "https://youtube.com/watch?v=dQw4w9WgXcQ"
}
Default: "sm_project_default"
{
"containerTag": "project_alpha"
}
{
"metadata": {
"source": "research-paper",
"author": "John Doe",
"priority": 1,
"reviewed": true
}
}
Restrictions:
Maximum length: 255 characters
{
"customId": "doc_2024_01_research_ml"
}
Use cases:
{
"content": "# Machine Learning\n\nML is a subset of AI...",
"raw": "# Machine Learning\n\nML is a subset of AI..."
}
For POST /v3/documents/file endpoint:
Maximum size: 50MB </ParamField>
<ParamField body="containerTags" type="string"> Container tag for the uploaded file (sent as form field).curl -X POST "https://api.supermemory.ai/v3/documents/file" \
-F "[email protected]" \
-F "containerTags=research"
// By user
"user_123"
// By project
"project_alpha"
// By organization and type
"org_456_research"
// By time period
"2024_q1_reports"
// By data source
"slack_channel_general"
// ✅ FAST: Single tag
{ "containerTag": "project_alpha" }
// ⚠️ SLOWER: Multiple tags
{ "containerTags": ["project_alpha", "backend", "auth"] }
// ❌ AVOID: Too many tags
{ "containerTags": ["tag1", "tag2", "tag3", "tag4", "tag5"] }