GET
/
api
/
v1
/
project
/
billing
# To use the Python SDK, install the package:
# pip install memobase

from memobase import Memobase

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

print(memobase.get_usage())
{
  "data": {
    "token_left": 123,
    "next_refill_at": "2023-11-07T05:31:56Z",
    "project_token_cost_month": 123
  },
  "errno": 0,
  "errmsg": ""
}

Get the usage of your project.

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

The response is of type object.