Delete memory
Delete a memory and its associated chunks from the index.
This removes the memory completely from the vector index and database. The operation deletes:
- All chunks associated with the resource (including embeddings)
- The resource record itself
Args: source: The document provider (e.g., gmail, notion, vault) resource_id: The unique identifier of the resource to delete api_token: Authentication token
Returns: MemoryDeletionResponse with deletion details
Raises: DocumentNotFound: If the resource doesn’t exist or user doesn’t have access
Authorizations
API Key or JWT User Token. If using an API Key, set the X-As-User header to act as a specific user. A JWT User Token is always scoped to a specific user.
Path Parameters
reddit, notion, slack, google_calendar, google_mail, box, dropbox, github, google_drive, vault, web_crawler, trace, microsoft_teams, gmail_actions, granola, fathom, linear, hubspot, salesforce, coda Response
Successful Response
reddit, notion, slack, google_calendar, google_mail, box, dropbox, github, google_drive, vault, web_crawler, trace, microsoft_teams, gmail_actions, granola, fathom, linear, hubspot, salesforce, coda