POST
/
api
/
v1
/
blobs
/
insert
/
{user_id}

Insert new memory data (blob) for a specific user. This endpoint handles the storage of memory data and automatically updates the user’s memory buffer.

The inserted data will be processed and integrated into the user’s long-term memory profile.

Memobase plans to support the following blob types:

  • ChatBlob: ✅ supported.
  • DocBlob: 🚧 in progress
  • ImageBlob: 🚧 in progress
  • CodeBlob: 🚧 in progress
  • TranscriptBlob: 🚧 in progress

Path Parameters

user_id
string
required

The ID of the user to insert the blob for

Body

application/json

The blob data to insert

blob_data
object
required
blob_type
enum<string>
required
Available options:
chat,
doc,
image,
code,
transcript
created_at
string | null
fields
object | null
updated_at
string | null

Response

200 - application/json
data
object | null

Response containing a single ID

errmsg
string
default:

Error message, empty when success

errno
enum<integer>

Error code, 0 means success

Available options:
0,
400,
401,
403,
404,
405,
409,
422,
500,
501,
502,
503,
504