AutoGPT Memory API

The memory API from AutoGPT — 8 operation(s) for memory.

Operations 8

DELETE /api/memory Erase My Memory #
DELETE /api/memory/experts/{expert_id} Erase My Expert Memory #
GET /api/memory/experts/{expert_id}/facts List My Expert Memory Facts #
DELETE /api/memory/experts/{expert_id}/facts/{fact_uuid} Forget My Expert Memory Fact #
GET /api/memory/experts/{expert_id}/overview Get My Expert Memory Overview #
GET /api/memory/facts List My Memory Facts #
DELETE /api/memory/facts/{fact_uuid} Forget My Memory Fact #
GET /api/memory/overview Get My Memory Overview #

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/autogpt:autogpt-memory-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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

OpenAPI Specification

autogpt-memory-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: AutoGPT Agent Server Memory API
  summary: AutoGPT Agent Server
  description: This server is used to execute agents that are created by the AutoGPT system.
  version: '0.1'
tags:
- name: Memory
paths:
  /api/memory:
    delete:
      tags:
      - Memory
      summary: Erase My Memory
      description: Permanently erase the caller's entire account memory.
      operationId: erase_my_memory
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EraseMemoryResponse'
        '401':
          $ref: '#/components/responses/HTTP401NotAuthenticatedError'
      security:
      - HTTPBearerJWT: []
  /api/memory/experts/{expert_id}:
    delete:
      tags:
      - Memory
      summary: Erase My Expert Memory
      description: Permanently erase one expert's entire isolated memory.
      operationId: erase_my_expert_memory
      security:
      - HTTPBearerJWT: []
      parameters:
      - name: expert_id
        in: path
        required: true
        schema:
          type: string
          minLength: 1
          maxLength: 128
          description: Expert id owned by the caller
          title: Expert Id
        description: Expert id owned by the caller
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EraseMemoryResponse'
        '401':
          $ref: '#/components/responses/HTTP401NotAuthenticatedError'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/memory/experts/{expert_id}/facts:
    get:
      tags:
      - Memory
      summary: List My Expert Memory Facts
      description: Live facts in one expert's isolated memory, newest first.
      operationId: list_my_expert_memory_facts
      security:
      - HTTPBearerJWT: []
      parameters:
      - name: expert_id
        in: path
        required: true
        schema:
          type: string
          minLength: 1
          maxLength: 128
          description: Expert id owned by the caller
          title: Expert Id
        description: Expert id owned by the caller
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 500
          minimum: 1
          default: 50
          title: Limit
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MemoryFactListResponse'
        '401':
          $ref: '#/components/responses/HTTP401NotAuthenticatedError'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/memory/experts/{expert_id}/facts/{fact_uuid}:
    delete:
      tags:
      - Memory
      summary: Forget My Expert Memory Fact
      description: Forget one fact from an expert's isolated memory.
      operationId: forget_my_expert_memory_fact
      security:
      - HTTPBearerJWT: []
      parameters:
      - name: expert_id
        in: path
        required: true
        schema:
          type: string
          minLength: 1
          maxLength: 128
          description: Expert id owned by the caller
          title: Expert Id
        description: Expert id owned by the caller
      - name: fact_uuid
        in: path
        required: true
        schema:
          type: string
          minLength: 1
          maxLength: 128
          description: Fact edge uuid
          title: Fact Uuid
        description: Fact edge uuid
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ForgetFactResponse'
        '401':
          $ref: '#/components/responses/HTTP401NotAuthenticatedError'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/memory/experts/{expert_id}/overview:
    get:
      tags:
      - Memory
      summary: Get My Expert Memory Overview
      description: Counts for one of the caller's experts' isolated memory.
      operationId: get_my_expert_memory_overview
      security:
      - HTTPBearerJWT: []
      parameters:
      - name: expert_id
        in: path
        required: true
        schema:
          type: string
          minLength: 1
          maxLength: 128
          description: Expert id owned by the caller
          title: Expert Id
        description: Expert id owned by the caller
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MemoryScopeOverview'
        '401':
          $ref: '#/components/responses/HTTP401NotAuthenticatedError'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/memory/facts:
    get:
      tags:
      - Memory
      summary: List My Memory Facts
      description: Live facts in the caller's account memory, newest first.
      operationId: list_my_memory_facts
      security:
      - HTTPBearerJWT: []
      parameters:
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 500
          minimum: 1
          default: 50
          title: Limit
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MemoryFactListResponse'
        '401':
          $ref: '#/components/responses/HTTP401NotAuthenticatedError'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/memory/facts/{fact_uuid}:
    delete:
      tags:
      - Memory
      summary: Forget My Memory Fact
      description: Forget one fact from the caller's account memory.
      operationId: forget_my_memory_fact
      security:
      - HTTPBearerJWT: []
      parameters:
      - name: fact_uuid
        in: path
        required: true
        schema:
          type: string
          minLength: 1
          maxLength: 128
          description: Fact edge uuid
          title: Fact Uuid
        description: Fact edge uuid
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ForgetFactResponse'
        '401':
          $ref: '#/components/responses/HTTP401NotAuthenticatedError'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/memory/overview:
    get:
      tags:
      - Memory
      summary: Get My Memory Overview
      description: Counts for the caller's account (AutoPilot) memory.
      operationId: get_my_memory_overview
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MemoryScopeOverview'
        '401':
          $ref: '#/components/responses/HTTP401NotAuthenticatedError'
      security:
      - HTTPBearerJWT: []
components:
  responses:
    HTTP401NotAuthenticatedError:
      description: Authentication required
      content:
        application/json:
          schema:
            type: object
            properties:
              detail:
                type: string
  schemas:
    EraseMemoryResponse:
      properties:
        expert_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Expert Id
        deleted_nodes:
          type: integer
          title: Deleted Nodes
        erased:
          type: boolean
          title: Erased
      type: object
      required:
      - deleted_nodes
      - erased
      title: EraseMemoryResponse
      description: 'Result of a scope wipe. ``deleted_nodes`` counts every node removed —

        entities, episodes (raw text included), and communities.'
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    MemoryFact:
      properties:
        uuid:
          type: string
          title: Uuid
        fact:
          anyOf:
          - type: string
          - type: 'null'
          title: Fact
        name:
          anyOf:
          - type: string
          - type: 'null'
          title: Name
        source:
          type: string
          title: Source
        target:
          type: string
          title: Target
        created_at:
          anyOf:
          - type: string
          - type: 'null'
          title: Created At
      type: object
      required:
      - uuid
      - source
      - target
      title: MemoryFact
      description: One live fact edge, as shown in the recent-memories list.
    MemoryScopeOverview:
      properties:
        expert_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Expert Id
        facts:
          type: integer
          title: Facts
        entities:
          type: integer
          title: Entities
        episodes:
          type: integer
          title: Episodes
      type: object
      required:
      - facts
      - entities
      - episodes
      title: MemoryScopeOverview
      description: 'Counts for one memory scope, shown on the settings page and in the

        erase-confirmation dialog.'
    MemoryFactListResponse:
      properties:
        expert_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Expert Id
        items:
          items:
            $ref: '#/components/schemas/MemoryFact'
          type: array
          title: Items
      type: object
      required:
      - items
      title: MemoryFactListResponse
    ForgetFactResponse:
      properties:
        uuid:
          type: string
          title: Uuid
        forgotten:
          type: boolean
          title: Forgotten
      type: object
      required:
      - uuid
      - forgotten
      title: ForgetFactResponse
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
  securitySchemes:
    APIKeyAuthenticator-X-Postmark-Webhook-Token:
      type: apiKey
      in: header
      name: X-Postmark-Webhook-Token
    HTTPBearer:
      type: http
      scheme: bearer
    HTTPBearerJWT:
      type: http
      scheme: bearer
      bearerFormat: jwt