DevArmor Memories API

The memories API from DevArmor — 6 operation(s) for memories.

Operations 10

GET /memories List memories #
POST /memories Create a memory #
GET /memories/{memory_id} Get a memory #
PUT /memories/{memory_id} Update a memory #
DELETE /memories/{memory_id} Delete a memory #
GET /memories/{memory_id}/versions List versions of a memory #
GET /memories/{memory_id}/versions/{version} Get one version of a memory #
GET /projects/{project_id}/memories List memories available to a project #
PUT /projects/{project_id}/memories/{memory_id} Make a memory available to a project #
DELETE /projects/{project_id}/memories/{memory_id} Withdraw a memory from a project #

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/devarmor:devarmor-memories-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

devarmor-memories-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: DevArmor Security Reviews Memories API
  version: 1.14.0
tags:
- name: Memories
paths:
  /memories:
    get:
      tags:
      - Memories
      summary: List memories
      operationId: list_memories
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/Memory'
                type: array
                title: Response List Memories
      security:
      - APIGatewayAuth: []
    post:
      tags:
      - Memories
      summary: Create a memory
      operationId: create_memory
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MemoryCreate'
        required: true
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Memory'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - APIGatewayAuth: []
  /memories/{memory_id}:
    get:
      tags:
      - Memories
      summary: Get a memory
      operationId: get_memory
      security:
      - APIGatewayAuth: []
      parameters:
      - name: memory_id
        in: path
        required: true
        schema:
          type: string
          title: Memory Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Memory'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    put:
      tags:
      - Memories
      summary: Update a memory
      operationId: update_memory
      security:
      - APIGatewayAuth: []
      parameters:
      - name: memory_id
        in: path
        required: true
        schema:
          type: string
          title: Memory Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MemoryUpdate'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Memory'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - Memories
      summary: Delete a memory
      operationId: delete_memory
      security:
      - APIGatewayAuth: []
      parameters:
      - name: memory_id
        in: path
        required: true
        schema:
          type: string
          title: Memory Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Memory'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /memories/{memory_id}/versions:
    get:
      tags:
      - Memories
      summary: List versions of a memory
      operationId: list_memory_versions
      security:
      - APIGatewayAuth: []
      parameters:
      - name: memory_id
        in: path
        required: true
        schema:
          type: string
          title: Memory Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/MemoryVersionSummary'
                title: Response List Memory Versions
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /memories/{memory_id}/versions/{version}:
    get:
      tags:
      - Memories
      summary: Get one version of a memory
      operationId: get_memory_version
      security:
      - APIGatewayAuth: []
      parameters:
      - name: version
        in: path
        required: true
        schema:
          type: integer
          title: Version
      - name: memory_id
        in: path
        required: true
        schema:
          type: string
          title: Memory Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MemoryVersion'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /projects/{project_id}/memories:
    get:
      tags:
      - Memories
      summary: List memories available to a project
      operationId: list_project_memories
      security:
      - APIGatewayAuth: []
      parameters:
      - name: project_id
        in: path
        required: true
        schema:
          type: string
          title: Project Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Memory'
                title: Response List Project Memories
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /projects/{project_id}/memories/{memory_id}:
    put:
      tags:
      - Memories
      summary: Make a memory available to a project
      operationId: add_project_memory
      security:
      - APIGatewayAuth: []
      parameters:
      - name: project_id
        in: path
        required: true
        schema:
          type: string
          title: Project Id
      - name: memory_id
        in: path
        required: true
        schema:
          type: string
          title: Memory Id
      responses:
        '204':
          description: Successful Response
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - Memories
      summary: Withdraw a memory from a project
      operationId: remove_project_memory
      security:
      - APIGatewayAuth: []
      parameters:
      - name: project_id
        in: path
        required: true
        schema:
          type: string
          title: Project Id
      - name: memory_id
        in: path
        required: true
        schema:
          type: string
          title: Memory Id
      responses:
        '204':
          description: Successful Response
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    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
    UserRole:
      type: string
      enum:
      - admin
      - customer_support
      title: UserRole
    MemoryVersion:
      properties:
        version:
          type: integer
          title: Version
        created_at:
          type: string
          format: date-time
          title: Created At
        created_by_user:
          $ref: '#/components/schemas/User'
        content:
          type: string
          title: Content
      type: object
      required:
      - version
      - created_at
      - created_by_user
      - content
      title: MemoryVersion
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    User:
      properties:
        email:
          type: string
          title: Email
        name:
          type: string
          title: Name
        state:
          $ref: '#/components/schemas/UserState'
          default: active
        roles:
          items:
            $ref: '#/components/schemas/UserRole'
          type: array
          title: Roles
          default: []
        created_at:
          type: string
          format: date-time
          title: Created At
        updated_at:
          type: string
          format: date-time
          title: Updated At
        id:
          type: integer
          title: Id
      type: object
      required:
      - email
      - name
      - id
      title: User
    MemoryCreate:
      properties:
        symbolic_name:
          type: 'null'
          title: Symbolic Name
        title:
          type: string
          title: Title
        content:
          type: string
          title: Content
        enabled:
          type: boolean
          title: Enabled
          default: true
        projects:
          items:
            type: integer
          type: array
          title: Projects
      type: object
      required:
      - title
      - content
      title: MemoryCreate
    MemoryProjectLink:
      properties:
        project:
          $ref: '#/components/schemas/ProjectRef'
        enabled:
          type: boolean
          title: Enabled
          default: true
      type: object
      required:
      - project
      title: MemoryProjectLink
    ProjectRef:
      properties:
        id:
          type: integer
          title: Id
        symbolic_name:
          type: string
          title: Symbolic Name
        title:
          type: string
          title: Title
      type: object
      required:
      - id
      - symbolic_name
      - title
      title: ProjectRef
    Memory:
      properties:
        symbolic_name:
          type: string
          pattern: ^[0-9a-z-]+$
          title: Symbolic Name
        title:
          type: string
          title: Title
        content:
          type: string
          title: Content
        enabled:
          type: boolean
          title: Enabled
          default: true
        created_at:
          type: string
          format: date-time
          title: Created At
        updated_at:
          type: string
          format: date-time
          title: Updated At
        id:
          type: integer
          title: Id
        organization_id:
          type: integer
          title: Organization Id
        current_version:
          type: integer
          title: Current Version
        created_by_user:
          $ref: '#/components/schemas/User'
        projects:
          items:
            $ref: '#/components/schemas/MemoryProjectLink'
          type: array
          title: Projects
      type: object
      required:
      - symbolic_name
      - title
      - content
      - id
      - organization_id
      - current_version
      - created_by_user
      - projects
      title: Memory
    MemoryUpdate:
      properties:
        symbolic_name:
          type: 'null'
          title: Symbolic Name
        title:
          anyOf:
          - type: string
          - type: 'null'
          title: Title
        content:
          anyOf:
          - type: string
          - type: 'null'
          title: Content
        enabled:
          type: boolean
          title: Enabled
          default: true
        projects:
          anyOf:
          - items:
              type: integer
            type: array
          - type: 'null'
          title: Projects
      type: object
      title: MemoryUpdate
    MemoryVersionSummary:
      properties:
        version:
          type: integer
          title: Version
        created_at:
          type: string
          format: date-time
          title: Created At
        created_by_user:
          $ref: '#/components/schemas/User'
      type: object
      required:
      - version
      - created_at
      - created_by_user
      title: MemoryVersionSummary
    UserState:
      type: string
      enum:
      - active
      - inactive
      - pending_org_approval
      title: UserState
  securitySchemes:
    APIGatewayAuth:
      type: http
      scheme: bearer