Skip to main content
Every 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
Input Output

list

events.list List recent events for the organization and project, page by page, for dashboards or for finding failed writes Risk: read
Input Output

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
Input
Output

batchDelete

memories.batchDelete Permanently delete up to 1000 memories in one call Risk: destructive
Input Output

batchUpdate

memories.batchUpdate Update up to 1000 memories in one call Risk: write
Input
Output

delete

memories.delete Permanently delete one memory; delete_linked also removes memories linked to it Risk: destructive
Input 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
Input
Output

get

memories.get Read one memory by its ID Risk: read
Input Output

history

memories.history Read the change history of one memory: each ADD, UPDATE and DELETE with its old and new text Risk: read
Input Output

list

memories.list List stored memories page by page, filtered by entity, date range or category; entity IDs go inside filters Risk: read
Input
Output

memories.search Rank stored memories by relevance to a query with hybrid semantic, keyword and entity matching; entity IDs go inside filters Risk: read
Input
Output

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
Input
Output

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
Input Output

delete

webhooks.delete Unregister a webhook so Mem0 stops posting events to its URL Risk: destructive
Input Output

list

webhooks.list List the webhooks registered on a project: each URL, its event subscriptions, and whether it is active Risk: read
Input Output

update

webhooks.update Change a webhook’s label, URL or event subscriptions; the new event list replaces the old one Risk: write
Input Output