Synapse Layer Memory API

Store and recall memories

GitHub OpenAPI

Operations 6

POST /api/v1/capture Capture (store) a memory #
POST /api/v1/memory/commit Commit (store) a memory through the full pipeline #
POST /api/v1/recall Recall (search) memories #
GET /api/v1/memories/recent List recent memories #
GET /api/v1/memories/count Count memories #
DELETE /api/forge/memories/{id} Delete a memory #

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/synapselayer-org:synapselayer-org-memory-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

synapselayer-org-memory-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Synapse Layer Forge Memory API
  version: 1.0.9
  description: Persistent memory for AI agents. Encryption AES-256-GCM at rest. Aligned with LGPD/GDPR. Trust Quotient scoring on every memory.
  contact:
    name: Synapse Layer
    email: founder.synapselayer@proton.me
    url: https://forge.synapselayer.org
  license:
    name: Apache-2.0
    url: https://www.apache.org/licenses/LICENSE-2.0
servers:
- url: https://forge.synapselayer.org
  description: Forge production
tags:
- name: Memory
  description: Store and recall memories
paths:
  /api/v1/capture:
    post:
      tags:
      - Memory
      summary: Capture (store) a memory
      description: 'Stores a memory. Requires a connect token. Plan quota: trial 50 calls/72h · free 100 memories · pro $19/mo (R$95/mês). See /.well-known/pricing.json.'
      operationId: captureMemory
      security:
      - connectToken: []
      responses:
        '201':
          description: Memory stored.
        '401':
          description: Missing or invalid token.
        '402':
          description: Trial quota exhausted.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/QuotaExceeded'
  /api/v1/memory/commit:
    post:
      tags:
      - Memory
      summary: Commit (store) a memory through the full pipeline
      description: 'Persists a memory. Requires a connect token. Plan quota: trial 50 calls/72h · free 100 memories · pro $19/mo (R$95/mês). See /.well-known/pricing.json.'
      operationId: commitMemory
      security:
      - connectToken: []
      responses:
        '201':
          description: Memory committed.
        '401':
          description: Missing or invalid token.
        '402':
          description: Trial quota exhausted.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/QuotaExceeded'
  /api/v1/recall:
    post:
      tags:
      - Memory
      summary: Recall (search) memories
      description: 'Retrieves memories. Requires a connect token. Plan quota: trial 50 calls/72h · free 100 memories · pro $19/mo. See /.well-known/pricing.json.'
      operationId: recallMemory
      security:
      - connectToken: []
      responses:
        '200':
          description: Memories returned.
        '401':
          description: Missing or invalid token.
        '402':
          description: Trial quota exhausted.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/QuotaExceeded'
  /api/v1/memories/recent:
    get:
      tags:
      - Memory
      summary: List recent memories
      description: Returns the most recent memories for the authenticated agent. Requires a connect token.
      operationId: listRecentMemories
      security:
      - connectToken: []
      responses:
        '200':
          description: Recent memories returned.
          content:
            application/json:
              schema:
                type: object
                properties:
                  memories:
                    type: array
                    items:
                      type: object
                  total:
                    type: integer
                    example: 0
        '401':
          description: Missing or invalid token.
  /api/v1/memories/count:
    get:
      tags:
      - Memory
      summary: Count memories
      description: Returns the total number of memories for the authenticated agent. Requires a connect token.
      operationId: countMemories
      security:
      - connectToken: []
      responses:
        '200':
          description: Memory count returned.
          content:
            application/json:
              schema:
                type: object
                properties:
                  count:
                    type: integer
                    example: 0
        '401':
          description: Missing or invalid token.
  /api/forge/memories/{id}:
    delete:
      tags:
      - Memory
      summary: Delete a memory
      description: Permanently deletes a memory by id (writes a tombstone). Requires a connect token.
      operationId: deleteMemory
      security:
      - connectToken: []
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
        description: Memory id (ex. cmudoge3f002qq608w2m2u2zz).
      responses:
        '200':
          description: Memory permanently deleted.
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Memory permanently deleted
                  tombstone:
                    type: object
                    properties:
                      memoryId:
                        type: string
                      deletedReason:
                        type: string
                        example: user_request
        '401':
          description: Missing or invalid token.
        '404':
          description: Memory not found.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    example: not_found
components:
  schemas:
    QuotaExceeded:
      type: object
      properties:
        code:
          type: string
          example: quota_exceeded
        upgrade_url:
          type: string
          example: https://forge.synapselayer.org/billing/upgrade
  securitySchemes:
    connectToken:
      type: apiKey
      in: header
      name: x-connect-token
      description: 'Connect token (sk_connect_...). Also accepted as Authorization: Bearer <token>.'
x-pricing:
  pro: $19/mo
  free: 100 memories
  trial: 50 calls / 72h (anonymous)