WritersLogic Verifiable AI Agent Hub Warm Memory API

The Warm Memory API from WritersLogic Verifiable AI Agent Hub — 1 operation(s) for warm memory.

GitHub OpenAPI

Operations 1

POST /api/v1/warm-memory WARM verifiable agent 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/writerslogic-com:writerslogic-com-warm-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. See our Privacy Policy and Terms.

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

OpenAPI Specification

writerslogic-com-warm-memory-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: WritersLogic Verifiable AI Agent Hub Warm Memory API
  version: 2.0.0
  description: Pay-per-call agents settled in USDC on Base via x402. Every response carries a signed provenance envelope.
  contact:
    name: WritersLogic
    url: https://writerslogic.com/agents
    email: agents@writerslogic.com
servers:
- url: https://agents.writerslogic.com
tags:
- name: Warm Memory
paths:
  /api/v1/warm-memory:
    post:
      operationId: warm_memory
      summary: WARM verifiable agent memory
      description: 'Persistent memory for AI agents as a pay-per-call API, no database to run. op=remember stores subject-predicate-object facts (or extracts them from free text; only facts whose subject and object appear verbatim are kept); a newer value for the same subject and predicate supersedes the old one, and the history stays queryable. op=recall searches by BM25 keyword ranking or exact triple pattern, now or as of any past date. op=forget deletes the content and leaves a tombstone; op=explain returns provenance and the supersession chain. Every fact has a ToIP SAID and every write returns a hash-chained receipt (signed when the hub has a signing key). Memory is private to the paying wallet (API-key callers pass a tenantId). Limits: 50 facts and 8,000 characters of text per call, 10,000 live facts per tenant. Retrieval is keyword-based, not semantic embeddings.


        Price: 0.10 USDC on Base (x402).'
      x-x402-price-usdc: '0.10'
      x-x402-amount: '100000'
      x-payment-info:
        protocols:
        - x402
        price:
          mode: fixed
          currency: USD
          amount: '0.10'
      x-audience: agent-infra
      x-sample-url: https://agents.writerslogic.com/api/v1/samples/warm-memory
      security:
      - x402: []
      - apiKey: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              additionalProperties: false
              required:
              - op
              properties:
                op:
                  type: string
                  enum:
                  - remember
                  - recall
                  - forget
                  - explain
                tenantId:
                  type: string
                  pattern: ^[A-Za-z0-9_.-]{1,64}$
                  description: Required for API-key callers (namespace as key:<tenantId>; keep it unguessable). Ignored when a wallet paid.
                facts:
                  type: array
                  maxItems: 50
                  items:
                    type: object
                    additionalProperties: false
                    required:
                    - subject
                    - predicate
                    - object
                    properties:
                      subject:
                        type: string
                        minLength: 1
                        maxLength: 500
                      predicate:
                        type: string
                        minLength: 1
                        maxLength: 500
                        description: Single-valued slot per subject, e.g. lives_in; a newer fact supersedes the older.
                      object:
                        type: string
                        minLength: 1
                        maxLength: 500
                      validFrom:
                        anyOf:
                        - type: integer
                          minimum: 0
                          maximum: 8640000000000000
                        - type: string
                          maxLength: 40
                        description: Epoch milliseconds or an ISO 8601 date/time (UTC when no offset).
                      validTo:
                        anyOf:
                        - type: integer
                          minimum: 0
                          maximum: 8640000000000000
                        - type: string
                          maxLength: 40
                        description: Epoch milliseconds or an ISO 8601 date/time (UTC when no offset).
                      source:
                        type: string
                        maxLength: 500
                text:
                  type: string
                  maxLength: 8000
                  description: 'remember: free text; facts are extracted by a fast model and kept only if subject and object occur verbatim.'
                source:
                  type: string
                  maxLength: 500
                  description: 'remember: provenance label for facts extracted from text.'
                query:
                  type: string
                  maxLength: 500
                pattern:
                  type: object
                  additionalProperties: false
                  description: Exact (case- and whitespace-insensitive) match on any of subject, predicate, object.
                  properties:
                    subject:
                      type: string
                      minLength: 1
                      maxLength: 500
                    predicate:
                      type: string
                      minLength: 1
                      maxLength: 500
                    object:
                      type: string
                      minLength: 1
                      maxLength: 500
                said:
                  type: string
                  pattern: ^E[A-Za-z0-9_-]{43}$
                asOf:
                  anyOf:
                  - type: integer
                    minimum: 0
                    maximum: 8640000000000000
                  - type: string
                    maxLength: 40
                  description: Epoch milliseconds or an ISO 8601 date/time (UTC when no offset).
                limit:
                  type: integer
                  minimum: 1
                  maximum: 50
                history:
                  type: string
                  enum:
                  - current
                  - all
                  description: 'recall: only facts current at asOf (default) or every status.'
            example:
              op: remember
              facts:
              - subject: alice
                predicate: lives_in
                object: Paris
                validFrom: '2020-01-01'
              - subject: alice
                predicate: lives_in
                object: Berlin
                validFrom: '2025-01-01'
      responses:
        '200':
          description: Paid result with provenance
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      op:
                        type: string
                      tenant:
                        type: string
                      summary:
                        type: string
                        description: 'One line: what happened, e.g. "Stored 2 new facts, 1 earlier fact superseded."'
                      next:
                        type: string
                        description: The most useful follow-up call.
                      warnings:
                        type: array
                        items:
                          type: string
                        description: Degraded steps, e.g. text extraction unavailable while structured facts were stored.
                      remembered:
                        type: array
                        items:
                          type: object
                      results:
                        type: array
                        items:
                          type: object
                      forgotten:
                        type: array
                        items:
                          type: object
                      receipt:
                        type: object
                        description: '{op, seq, saids, digest, at, prevReceiptDigest, signature?, signer?}'
                      deterministic:
                        type: object
                  _provenance:
                    type: object
                    description: C2PA-aligned manifest and W3C VC 2.0 (eddsa-jcs-2022) issued by the hub DID; verify at POST /api/v1/verify-provenance
                required:
                - data
                - _provenance
        '400':
          description: Invalid request (no payment consumed)
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
        '401':
          description: Invalid X-API-KEY
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
        '402':
          description: Payment required or invalid
          content:
            application/json:
              schema:
                type: object
                description: x402 v2 PaymentRequired (also base64 in the PAYMENT-REQUIRED header)
                properties:
                  x402Version:
                    type: integer
                  error:
                    type: string
                  code:
                    type: string
                  resource:
                    type: object
                  accepts:
                    type: array
                    items:
                      type: object
                  extensions:
                    type: object
        '502':
          description: Upstream failure; the payment is released or not settled
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
      tags:
      - Warm Memory
components:
  securitySchemes:
    x402:
      type: apiKey
      in: header
      name: PAYMENT-SIGNATURE
      description: x402 v2 payment payload (base64) sent after a 402 challenge
    apiKey:
      type: apiKey
      in: header
      name: X-API-KEY