mem0.api.* operation is listed below with parameter shapes and return types from the plugin Zod schemas.
New to Corsair? See API access, authentication, and error handling.
Events
get
events.get
Read one queued event by ID to see whether an add or delete finished, failed, or is still running
Risk: read
Output
payload full type
payload full type
metadata full type
metadata full type
results full type
results full type
list
events.list
List recent events for the organization and project, page by page, for dashboards or for finding failed writes
Risk: read
Output
results full type
results full type
Memories
add
memories.add
Extract memories from conversation messages and store them for a user, agent, app or run; processing is queued and returns an event_id to poll
Risk: write
messages full type
messages full type
metadata full type
metadata full type
results full type
results full type
batchDelete
memories.batchDelete
Permanently delete up to 1000 memories in one call
Risk: destructive
Output
batchUpdate
memories.batchUpdate
Update up to 1000 memories in one call
Risk: write
memories full type
memories full type
delete
memories.delete
Permanently delete one memory; delete_linked also removes memories linked to it
Risk: destructive
Output
deleteAll
memories.deleteAll
Delete every memory matching a filter, or every memory for an entity when the filter is ”*”; Mem0 queues the deletion and answers immediately
Risk: destructive
metadata full type
metadata full type
get
memories.get
Read one memory by its ID
Risk: read
Output
metadata full type
metadata full type
structured_attributes full type
structured_attributes full type
history
memories.history
Read the change history of one memory: each ADD, UPDATE and DELETE with its old and new text
Risk: read
Output
history full type
history full type
list
memories.list
List stored memories page by page, filtered by entity, date range or category; entity IDs go inside filters
Risk: read
filters full type
filters full type
results full type
results full type
search
memories.search
Rank stored memories by relevance to a query with hybrid semantic, keyword and entity matching; entity IDs go inside filters
Risk: read
filters full type
filters full type
results full type
results full type
update
memories.update
Change one memory’s text or metadata, or set its expiration date; pass expiration_date as null to clear one
Risk: write
metadata full type
metadata full type
metadata full type
metadata full type
structured_attributes full type
structured_attributes full type
Webhooks
create
webhooks.create
Register a URL to receive Mem0 events for a project, subscribing it to memory add, update, delete or categorize and the ingest job events
Risk: write
Output
delete
webhooks.delete
Unregister a webhook so Mem0 stops posting events to its URL
Risk: destructive
Output
list
webhooks.list
List the webhooks registered on a project: each URL, its event subscriptions, and whether it is active
Risk: read
Output
webhooks full type
webhooks full type
update
webhooks.update
Change a webhook’s label, URL or event subscriptions; the new event list replaces the old one
Risk: write
Output
webhook full type
webhook full type