Mem0 integration (AI, Data). Imported from open-connector.
https://api.mem0.ai/v1/memories/
| Param | Type | Required | Description |
|---|---|---|---|
| memory | string | optional | A single memory string to write directly. |
| messages | array | optional | The list of messages used to generate memory. |
| user_id | string | optional | The associated user identifier. |
| agent_id | string | optional | The associated agent identifier. |
| app_id | string | optional | The associated application identifier. |
| run_id | string | optional | The associated run identifier. |
| org_id | string | optional | An optional organization identifier. |
| project_id | string | optional | An optional project identifier. |
| metadata | object | optional | An arbitrary JSON object returned by Mem0. |
| custom_categories | object | optional | A map of custom category names to their descriptions. |
| enable_graph | boolean | optional | Whether graph memory extraction should be enabled for this request. |
| infer | boolean | optional | Whether Mem0 should infer structured memory from the messages. |
| async_mode | boolean | optional | Whether the write should be processed asynchronously. |
| output_format | string | optional | The response wrapper format version. |
| version | string | optional | The memory extraction engine version. |
| custom_instructions | string | optional | Additional instructions used to guide memory extraction. |
| immutable | boolean | optional | Whether the created memory should be treated as immutable. |
| timestamp | integer | optional | The Unix timestamp associated with the memory input. |
| expiration_date | string | optional | The expiration date to attach to the created memory. |
| includes | string | optional | A string list of keywords that should be prioritized. |
| excludes | string | optional | A string list of keywords that should be excluded. |
/v2/memories/
| Param | Type | Required | Description |
|---|---|---|---|
| filters | object | required | The advanced filter object supported by the Mem0 v2 memories API. |
| page | integer | optional | The page number to request, starting from 1. |
| page_size | integer | optional | The maximum number of results per page, up to 100. |
| org_id | string | optional | An optional organization identifier. |
| project_id | string | optional | An optional project identifier. |
/v2/memories/search/
| Param | Type | Required | Description |
|---|---|---|---|
| query | string | required | The natural-language query used for semantic search. |
| filters | object | optional | An optional advanced filter object. |
| top_k | integer | optional | The maximum number of results to return. |
| rerank | boolean | optional | Whether Mem0 should rerank the initial search results. |
| threshold | number | optional | The semantic similarity threshold. |
| fields | array | optional | The list of fields to return. |
| keyword_search | boolean | optional | Whether Mem0 should perform keyword search instead of semantic search. |
| filter_memories | boolean | optional | Whether Mem0 should strictly apply the provided filters. |
| org_id | string | optional | An optional organization identifier. |
| project_id | string | optional | An optional project identifier. |
/v1/memories/{memory_id}/
| Param | Type | Required | Description |
|---|---|---|---|
| memory_id | string | required | The unique identifier of the target memory. |
/v1/memories/{memory_id}/
| Param | Type | Required | Description |
|---|---|---|---|
| memory_id | string | required | The unique identifier of the target memory. |
| text | string | optional | The new memory text to store. |
| metadata | object | optional | An arbitrary JSON object returned by Mem0. |
/v1/memories/{memory_id}/
| Param | Type | Required | Description |
|---|---|---|---|
| memory_id | string | required | The unique identifier of the target memory. |
/v1/memories/{memory_id}/history/
| Param | Type | Required | Description |
|---|---|---|---|
| memory_id | string | required | The unique identifier of the target memory. |
/v1/events/
| Param | Type | Required | Description |
|---|---|---|---|
| event_type | string | optional | Filter events by event type. |
| start_date | string | optional | The start date filter, typically in YYYY-MM-DD format. |
| end_date | string | optional | The end date filter, typically in YYYY-MM-DD format. |
| page | integer | optional | The page number to request, starting from 1. |
| page_size | integer | optional | The maximum number of results per page, up to 100. |
/v1/event/{event_id}/
| Param | Type | Required | Description |
|---|---|---|---|
| event_id | string | required | The unique identifier of the target event. |
/v1/entities/
| Param | Type | Required | Description |
|---|---|---|---|
| org_id | string | optional | An optional organization identifier. |
| project_id | string | optional | An optional project identifier. |