0latency-ai Memories API

The Memories API from 0latency-ai — 10 operation(s) for memories.

Operations 11

POST /memories/extract Async Extract Endpoint #
GET /memories/extract/{job_id} Get Extract Job #
GET /memories List Memories #
DELETE /memories/{memory_id} Delete Memory #
PUT /memories/{memory_id} Update Memory Endpoint #
GET /memories/search Search Memories #
GET /memories/export Export Memories #
GET /memories/{memory_id}/history Memory History Endpoint #
POST /memories/batch-delete Batch Delete Endpoint #
POST /memories/batch-search Batch Search Endpoint #
POST /memories/{memory_id}/promote Promote To Org Endpoint #

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/0latency-ai:0latency-ai-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

0latency-ai-memories-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: 0latency Ai Memories API
  version: 0.1.0
  description: 'Operations tagged Memories across 2 of this provider''s published API definitions: 0latency-ai-openapi.json, app-0latency-ai-openapi.json. Each path carries the servers of the definition it was published in.'
tags:
- name: Memories
paths:
  /memories/extract:
    post:
      summary: Async Extract Endpoint
      description: 'Async memory extraction. Accepts instantly (202), processes in background.


        This is the preferred extraction path. Recall is always sync and fast.

        Extraction accepts instantly and processes in the background.

        Partial results beat blocking.'
      operationId: async_extract_endpoint_memories_extract_post
      parameters:
      - name: X-API-Key
        in: header
        required: true
        schema:
          type: string
          title: X-Api-Key
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AsyncExtractRequest'
      responses:
        '202':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Memories
  /memories/extract/{job_id}:
    get:
      summary: Get Extract Job
      description: Check status of an async extraction job.
      operationId: get_extract_job_memories_extract__job_id__get
      parameters:
      - name: job_id
        in: path
        required: true
        schema:
          type: string
          title: Job Id
      - name: X-API-Key
        in: header
        required: true
        schema:
          type: string
          title: X-Api-Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Memories
  /memories:
    get:
      summary: List Memories
      description: List memories for an agent with pagination.
      operationId: list_memories_memories_get
      parameters:
      - name: agent_id
        in: query
        required: true
        schema:
          type: string
          minLength: 1
          maxLength: 128
          title: Agent Id
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 200
          minimum: 1
          default: 50
          title: Limit
      - name: offset
        in: query
        required: false
        schema:
          type: integer
          minimum: 0
          default: 0
          title: Offset
      - name: memory_type
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            maxLength: 32
          - type: 'null'
          title: Memory Type
      - name: X-API-Key
        in: header
        required: true
        schema:
          type: string
          title: X-Api-Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/MemoryItem'
                title: Response List Memories Memories Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Memories
  /memories/{memory_id}:
    delete:
      summary: Delete Memory
      description: Delete a specific memory. Tenant-isolated.
      operationId: delete_memory_memories__memory_id__delete
      parameters:
      - name: memory_id
        in: path
        required: true
        schema:
          type: string
          title: Memory Id
      - name: X-API-Key
        in: header
        required: true
        schema:
          type: string
          title: X-Api-Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Memories
    put:
      summary: Update Memory Endpoint
      description: Update a memory. Automatically creates a version snapshot before updating.
      operationId: update_memory_endpoint_memories__memory_id__put
      parameters:
      - name: memory_id
        in: path
        required: true
        schema:
          type: string
          title: Memory Id
      - name: X-API-Key
        in: header
        required: true
        schema:
          type: string
          title: X-Api-Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Memories
  /memories/search:
    get:
      summary: Search Memories
      description: Search memories by keyword. Tenant-isolated.
      operationId: search_memories_memories_search_get
      parameters:
      - name: agent_id
        in: query
        required: true
        schema:
          type: string
          minLength: 1
          maxLength: 128
          title: Agent Id
      - name: q
        in: query
        required: true
        schema:
          type: string
          minLength: 1
          maxLength: 500
          title: Q
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 100
          minimum: 1
          default: 20
          title: Limit
      - name: X-API-Key
        in: header
        required: true
        schema:
          type: string
          title: X-Api-Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Memories
  /memories/export:
    get:
      summary: Export Memories
      description: Export all memories for an agent as JSON. For data portability and GDPR compliance.
      operationId: export_memories_memories_export_get
      parameters:
      - name: agent_id
        in: query
        required: true
        schema:
          type: string
          minLength: 1
          maxLength: 128
          title: Agent Id
      - name: X-API-Key
        in: header
        required: true
        schema:
          type: string
          title: X-Api-Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Memories
  /memories/{memory_id}/history:
    get:
      summary: Memory History Endpoint
      description: Get full version history for a memory.
      operationId: memory_history_endpoint_memories__memory_id__history_get
      parameters:
      - name: memory_id
        in: path
        required: true
        schema:
          type: string
          title: Memory Id
      - name: X-API-Key
        in: header
        required: true
        schema:
          type: string
          title: X-Api-Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Memories
  /memories/batch-delete:
    post:
      summary: Batch Delete Endpoint
      description: Delete multiple memories in one request.
      operationId: batch_delete_endpoint_memories_batch_delete_post
      parameters:
      - name: X-API-Key
        in: header
        required: true
        schema:
          type: string
          title: X-Api-Key
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BatchDeleteRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Memories
  /memories/batch-search:
    post:
      summary: Batch Search Endpoint
      description: Search with multiple queries in one request.
      operationId: batch_search_endpoint_memories_batch_search_post
      parameters:
      - name: X-API-Key
        in: header
        required: true
        schema:
          type: string
          title: X-Api-Key
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BatchSearchRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Memories
  /memories/{memory_id}/promote:
    post:
      summary: Promote To Org Endpoint
      description: Promote an agent memory to organization level.
      operationId: promote_to_org_endpoint_memories__memory_id__promote_post
      parameters:
      - name: memory_id
        in: path
        required: true
        schema:
          type: string
          title: Memory Id
      - name: X-API-Key
        in: header
        required: true
        schema:
          type: string
          title: X-Api-Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Memories
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
    MemoryItem:
      properties:
        id:
          type: string
          title: Id
        headline:
          type: string
          title: Headline
        memory_type:
          type: string
          title: Memory Type
        importance:
          type: number
          title: Importance
        created_at:
          type: string
          title: Created At
      type: object
      required:
      - id
      - headline
      - memory_type
      - importance
      - created_at
      title: MemoryItem
    BatchDeleteRequest:
      properties:
        memory_ids:
          items:
            type: string
          type: array
          maxItems: 100
          minItems: 1
          title: Memory Ids
      type: object
      required:
      - memory_ids
      title: BatchDeleteRequest
    BatchSearchRequest:
      properties:
        agent_id:
          type: string
          maxLength: 128
          minLength: 1
          title: Agent Id
        queries:
          items:
            type: string
          type: array
          maxItems: 20
          minItems: 1
          title: Queries
        limit_per_query:
          type: integer
          maximum: 50.0
          minimum: 1.0
          title: Limit Per Query
          default: 10
      type: object
      required:
      - agent_id
      - queries
      title: BatchSearchRequest
    AsyncExtractRequest:
      properties:
        agent_id:
          type: string
          maxLength: 128
          minLength: 1
          title: Agent Id
        content:
          type: string
          maxLength: 100000
          minLength: 1
          title: Content
        session_key:
          anyOf:
          - type: string
            maxLength: 256
          - type: 'null'
          title: Session Key
      type: object
      required:
      - agent_id
      - content
      title: AsyncExtractRequest
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
x-refined-from:
- 0latency-ai-openapi.json
- app-0latency-ai-openapi.json