GET
/
api
/
v1
/
blobs
/
{user_id}
/
{blob_id}
# To use the Python SDK, install the package:
# pip install memobase

from memobase import Memobase

client = Memobase(project_url='PROJECT_URL', api_key='PROJECT_TOKEN')

u = client.get_user(uid)
b = u.get(bid)
{
  "data": {
    "blob_type": "chat",
    "blob_data": {},
    "fields": {},
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z"
  },
  "errno": 0,
  "errmsg": ""
}

Retrieve a specific memory blob for a user. This endpoint returns the detailed content and metadata of a single memory blob.

Authorizations

Authorization
string
header
required

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

Path Parameters

user_id
string
required

The ID of the user

blob_id
string
required

The ID of the blob to retrieve

Response

200
application/json
Successful Response
data
object | null

Response containing blob data

errno
enum<integer>

Error code, 0 means success

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

Error message, empty when success