POST
/
memory-blobs
curl --request POST \
  --url https://api.memoram.app/api/v1/memory-blobs \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "memoryKey": "<string>",
  "content": "<string>",
  "title": "<string>",
  "summary": "<string>",
  "tags": [
    "<string>"
  ],
  "importance": 0.8,
  "confidence": 0.95,
  "source": "my-chat-app"
}'
{
  "id": "<string>",
  "user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "source": "<string>",
  "title": "<string>",
  "summary": "<string>",
  "importance": 123,
  "confidence": 123,
  "tags": [
    "<string>"
  ],
  "tag_ids": [
    "<string>"
  ]
}

Create a new memory blob for a user. Requires the user’s ID and Memory Key obtained from an approved access request.

Content sent in the content field should ideally be encrypted client-side using the user’s encryption_key before sending. Alternatively, if sending plaintext, ensure the API or SDK handles server-side encryption.

Authorization

Requires Bearer token authentication using your Developer JWT.

Authorizations

Authorization
string
header
required

JWT token obtained via /auth/token endpoint.

Body

application/json

Response

201
application/json

Memory blob created successfully.

Represents a memory blob as returned by Create/Update operations (content is not included).