Snipara Memories API

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

GitHub OpenAPI

Operations 2

GET /v1/{project_id}/memories/recall Recall Memories #
POST /v1/{project_id}/memories Create 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/snipara-com:snipara-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

snipara-com-memories-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Snipara MCP Server Memories API
  description: Hosted MCP endpoint for Snipara context-efficient documentation queries
  version: 2.0.2
tags:
- name: Memories
paths:
  /v1/{project_id}/memories/recall:
    get:
      tags:
      - Memories
      summary: Recall Memories
      description: 'Recall memories semantically based on a query.


        Used by SessionStart hooks to inject relevant memories into new sessions.


        Args:

        project_id: The project ID

        query: Search query for semantic matching

        type: Filter by memory type (fact, decision, learning, preference, todo, context)

        category: Filter by category

        limit: Maximum memories to return

        min_relevance: Minimum relevance score (0-1)


        Returns:

        List of relevant memories with content and metadata'
      operationId: recall_memories_v1__project_id__memories_recall_get
      parameters:
      - name: project_id
        in: path
        required: true
        schema:
          type: string
          title: Project Id
      - name: query
        in: query
        required: true
        schema:
          type: string
          description: Search query for semantic recall
          title: Query
        description: Search query for semantic recall
      - name: type
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Filter by memory type
          title: Type
        description: Filter by memory type
      - name: scope
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Filter by memory scope
          title: Scope
        description: Filter by memory scope
      - name: category
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Filter by category
          title: Category
        description: Filter by category
      - name: external_user_id
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Integrator end-user ID for user-scoped memory with snp-client-* keys
          title: External User Id
        description: Integrator end-user ID for user-scoped memory with snp-client-* keys
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 50
          minimum: 1
          description: Max memories to return
          default: 10
          title: Limit
        description: Max memories to return
      - name: min_relevance
        in: query
        required: false
        schema:
          type: number
          maximum: 1
          minimum: 0
          description: Minimum relevance
          default: 0.3
          title: Min Relevance
        description: Minimum relevance
      - name: include_inactive
        in: query
        required: false
        schema:
          type: boolean
          description: Include inactive memories
          default: false
          title: Include Inactive
        description: Include inactive memories
      - name: warning_threshold
        in: query
        required: false
        schema:
          type: number
          maximum: 1
          minimum: 0
          description: Minimum relevance for inactive-memory warnings
          default: 0.72
          title: Warning Threshold
        description: Minimum relevance for inactive-memory warnings
      - name: X-API-Key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/{project_id}/memories:
    post:
      tags:
      - Memories
      summary: Create Memory
      description: 'Store a new memory for later recall.


        Used by PreCompact hooks or directly by Claude to persist learnings.


        Request body:

        content: str - The memory content

        type: str - Memory type (fact, decision, learning, preference, todo, context)

        category: str - Optional grouping category

        ttl_days: int - Days until expiration (null = permanent)

        source: str - What created this memory (e.g., "hook", "claude", "manual")


        Returns:

        Created memory with ID and metadata'
      operationId: create_memory_v1__project_id__memories_post
      parameters:
      - name: project_id
        in: path
        required: true
        schema:
          type: string
          title: Project Id
      - name: X-API-Key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '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
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError