POST
/
v3
/
memories
curl --request POST \
  --url https://api.supermemory.ai/v3/memories \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "content": "This is a detailed article about machine learning concepts...",
  "containerTags": [
    "user_123",
    "project_123"
  ],
  "customId": "mem_abc123",
  "metadata": {
    "source": "web",
    "category": "technology",
    "tag_1": "ai",
    "tag_2": "machine-learning",
    "readingTime": 5,
    "isPublic": true
  }
}'
{
  "id": "<string>",
  "status": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Response

200
application/json

Memory added successfully

The response is of type object.