Skip to main content
GET
/
api
/
v1
/
healthcheck
Python
# To use the Python SDK, install the package:
# pip install memobase

from memobase import MemoBaseClient

memobase = MemoBaseClient(project_url='PROJECT_URL', api_key='PROJECT_TOKEN')

assert memobase.ping()
{
  "data": {},
  "errno": 0,
  "errmsg": ""
}
Check if your memobase server is set up correctly and all required services (database, Redis) are available and functioning properly.

Authorizations

Authorization
string
header
required

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

Response

200 - application/json

Successful Response

data
Data · object

Response data payload

errno
enum<integer>
default:0

Error code, 0 means success

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

Error message, empty when success