GET
/
v1
/
entities
# To use the Python SDK, install the package:
# pip install mem0ai

from mem0 import MemoryClient
client = MemoryClient(api_key="your_api_key", org_id="your_org_id", project_id="your_project_id")
users = client.users()
print(users)
[
  {
    "id": "<string>",
    "name": "<string>",
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z",
    "total_memories": 123,
    "owner": "<string>",
    "organization": "<string>",
    "metadata": {},
    "type": "user"
  }
]

Authorizations

Authorization
string
header
required

API key authentication. Prefix your Mem0 API key with 'Token '. Example: 'Token your_api_key'

Query Parameters

org_id
string

Filter entities by organization ID.

project_id
string

Filter entities by project ID.

Response

200 - application/json

The response is of type object[].