PATCH
/
api
/
v1
/
orgs
/
organizations
/
{org_id}
/
projects
/
{project_id}
/
# To use the Python SDK, install the package:
# pip install mem0ai

from mem0 import MemoryClient

client = MemoryClient(api_key="your_api_key")

new_categories = [
    {"cooking": "For users interested in cooking and culinary experiences"},
    {"fitness": "Includes content related to fitness and workouts"}
]

response = client.update_project(custom_categories=new_categories)
print(response)
{
  "message": "Project updated successfully"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

org_id
string
required

Unique identifier of the organization

project_id
string
required

Unique identifier of the project to be updated

Body

application/json

Response

200
application/json

Project updated successfully

The response is of type object.