Python
import requests url = "https://api.mem0.ai/v1/events/" headers = {"Authorization": "Token <api-key>"} response = requests.request("GET", url, headers=headers) print(response.text)
{ "count": 123, "results": [ { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "event_type": "<string>", "status": "PENDING", "payload": {}, "metadata": {}, "results": "<array>", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z", "started_at": "2023-11-07T05:31:56Z", "completed_at": "2023-11-07T05:31:56Z", "latency": 123 } ], "next": "<string>", "previous": "<string>" }
List recent events for your organization and project, useful for dashboards, alerting, and audit logging.
FAILED
API key authentication. Prefix your Mem0 API key with 'Token '. Example: 'Token your_api_key'
Successfully retrieved events.
Total number of events matching the filters.
Array of event objects.
Show child attributes
URL for the next page of results.
URL for the previous page of results.
Was this page helpful?
Contact support