MemoryPlugin Memories API

The Memories API from MemoryPlugin — 2 operation(s) for memories.

GitHub OpenAPI

Operations 2

DELETE /api/memories/{memoryId} Delete a memory #
POST /api/memories/bulk-delete Bulk delete memories #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/memoryplugin-com:memoryplugin-com-memories-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

memoryplugin-com-memories-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: MemoryPlugin Memories API
  version: 1.0.0
  description: API for managing and querying user memories
servers:
- url: https://www.memoryplugin.com
tags:
- name: Memories
paths:
  /api/memories/{memoryId}:
    delete:
      summary: Delete a memory
      operationId: DeleteMemory
      description: Delete a single memory by its ID. Removes the memory from the database and vector store.
      parameters:
      - name: memoryId
        in: path
        required: true
        schema:
          type: string
        description: The memory ID to delete.
      responses:
        '200':
          description: Memory deleted
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    enum:
                    - Memory deleted
        '400':
          description: Memory ID is required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: No authorization token was supplied, or the token is not valid. The body is a single-element array wrapping the message object, not a bare error object.
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: Authenticated, but not allowed to delete this memory. Either the OAuth connection was never granted the memory:write scope (body carries code "insufficient_scope"), or the caller's role in the memory's shared bucket does not permit the delete — a Viewer, or a Contributor deleting a memory someone else created.
          content:
            application/json:
              schema:
                anyOf:
                - $ref: '#/components/schemas/ErrorResponse'
                - $ref: '#/components/schemas/InsufficientScopeResponse'
        '404':
          description: No memory with this ID is available to the caller. Also returned when the memory sits in a bucket the caller cannot access at all, so a DELETE cannot be used to probe for other people's memory IDs. Safe to treat as an already-deleted success.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '409':
          description: The memory is still referenced by memory suggestions (a foreign key violation). Resolve those suggestions, then retry the delete.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: The delete failed unexpectedly (a database or vector-store error). The removal may have been applied only partially, so retrying is safe — a memory already gone returns 404.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
      - bearerAuth: []
      tags:
      - Memories
  /api/memories/bulk-delete:
    post:
      summary: Bulk delete memories
      operationId: BulkDeleteMemories
      description: Delete multiple memories in a single request.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                memoryIds:
                  type: array
                  items:
                    type: string
                  description: Array of memory IDs to delete.
              required:
              - memoryIds
      responses:
        '200':
          description: Memories deleted
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    description: Always "Memories deleted".
                  deletedCount:
                    type: integer
                    description: Number of memory rows deleted from the database. IDs that no longer resolve to a stored memory are skipped rather than counted, so this can be lower than the number of memoryIds submitted.
                  errors:
                    type: array
                    description: Per-failure details. Empty when everything succeeded; a partial failure still returns 200 with the successful deletions reflected in deletedCount.
                    items:
                      type: object
                      properties:
                        memoryId:
                          type: string
                          description: The memory ID that failed, or a batch identifier ("zilliz_bulk", "supabase_bulk") when the failure covers a whole batch and the individual IDs cannot be attributed.
                        error:
                          type: string
                          description: Failure reason.
                      required:
                      - memoryId
                      - error
                required:
                - message
                - deletedCount
                - errors
        '400':
          description: The memoryIds field is missing, is not an array, is empty, or contains a value that is not a string. Nothing is deleted.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: No authorization token was supplied, or the token is not valid. The body is a single-element array wrapping the message object, not a bare error object.
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: Authenticated, but the OAuth connection was never granted the memory:write scope. Body carries code "insufficient_scope".
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InsufficientScopeResponse'
        '500':
          description: The request failed unexpectedly — a malformed JSON body, or a database or vector-store error. Deletions are per-memory, so some may already have been applied; retrying is safe, since IDs that no longer resolve are skipped rather than failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
      - bearerAuth: []
      tags:
      - Memories
components:
  schemas:
    InsufficientScopeResponse:
      type: object
      description: Returned when an OAuth connection's granted scopes do not cover the requested action.
      properties:
        error:
          type: string
        code:
          type: string
          enum:
          - insufficient_scope
        scope:
          type: string
          description: The scope the action requires, e.g. memory:write.
      required:
      - error
      - code
      - scope
    ErrorResponse:
      type: object
      properties:
        error:
          type: string
        text:
          type: string
        score:
          type: number
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer