Skip to main content
POST
/
v1
/
feedback
/
Python
# To use the Python SDK, install the package: # pip install mem0ai  from mem0 import MemoryClient client = MemoryClient(api_key="your_api_key")  # Submit feedback for a memory feedback = client.feedback(memory_id="memory_id", feedback="POSITIVE") print(feedback)
{  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",  "feedback": "POSITIVE",  "feedback_reason": "<string>" }

Authorizations

Authorization
string
header
required

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

Body

application/json
memory_id
string
required

ID of the memory to provide feedback for

feedback
enum<string> | null

Type of feedback

Available options:
POSITIVE,
NEGATIVE,
VERY_NEGATIVE
feedback_reason
string | null

Reason for the feedback

Response

Successful operation.

id
string<uuid>

Feedback ID

feedback
enum<string> | null

Type of feedback

Available options:
POSITIVE,
NEGATIVE,
VERY_NEGATIVE
feedback_reason
string | null

Reason for the feedback