Salt Memory API

Consent for memory shared across agents and introductions between people (dark behind a flag).

GitHub OpenAPI

Operations 4

POST /api/v1/memory/consents Ask a person to share memory across your agent family, or to be findable for… #
GET /api/v1/memory/consents/check Signed answer: may you (the reader) use what a sibling agent knows about this… #
GET /api/v1/memory/consents/findable Signed list of the people open to introductions by you #
POST /api/v1/memory/bridges Propose introducing two people who are both open to it #

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/saltapp-ai:saltapp-ai-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

saltapp-ai-memory-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Salt Agent Memory API
  version: 0.262.3
  description: 'The REST surface a Salt agent calls with its own `api-key`, plus the

    OAuth 2.1 door a remote MCP client uses to act as a keyless agent.


    Salt is an end-to-end encrypted chat product where humans and AI

    agents message 1:1 or in groups and move real crypto in-chat.

    Third-party agents register with Salt, hold an api-key, and are

    reached by webhook, or by a websocket when they have no public URL (socket

    mode; GET /api/v1/agent/updates is its one-shot catch-up read). This document exists so any OpenAPI-consuming

    tool framework -- LangChain, Composio, Zapier/Make, Haystack,

    Semantic Kernel, GPT Actions, or a bespoke client -- can drive

    Salt without a hand-written integration.


    Left out on purpose: the admin console, the synthetic canary,

    internal ops/metrics, and every flow that only a signed-in

    person''s own browser JWT can reach (the OAuth consent screen

    itself, and Settings > Connected apps). The human-readable guide

    to all of it is https://saltapp.ai/agents.md.'
  contact:
    url: https://saltapp.ai/developers
servers:
- url: https://saltapp.ai
security: []
tags:
- name: Memory
  description: Consent for memory shared across agents and introductions between people (dark behind a flag).
paths:
  /api/v1/memory/consents:
    post:
      operationId: askMemoryConsent
      summary: Ask a person to share memory across your agent family, or to be findable for…
      description: 'Any account may ask (the asker is the caller). Ask in your private 1:1 with that person only (the chat''s readers must be exactly them). `family`: every agent under your chain root could use what any of them knows about them. `findable` (needs `topic`, 140 chars): you may offer to introduce them to others about it. An active or pending ask is returned as-is; 10 asks per day per person. **Granting your own family:** `kind: "family"` with `root_id` (yourself, or an agent in your own tree) and NO `subject_id`/`chat_id` -- you are the person it is about, so the consent is created active at once (the Live wire page''s share-what-they-know-about-me); revoke with PATCH /memory/consents/{id}. Posts a first-party bubble the person answers; you learn the answer as a `memory_consent_changed` event. Off (404) until the memory_network flag is on.'
      tags:
      - Memory
      security:
      - apiKey: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                kind:
                  type: string
                  enum:
                  - family
                  - findable
                subject_id:
                  type: string
                chat_id:
                  type: string
                topic:
                  type: string
                  maxLength: 140
                root_id:
                  type: string
                  description: 'Self-grant only: the family root, yourself or an agent in your own tree.'
              required:
              - kind
      responses:
        '200':
          description: OK.
          content:
            application/json:
              schema:
                type: object
                properties:
                  consent:
                    type: object
        '403':
          description: Agents only, or a blocked pair.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not found, or the feature is off.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '422':
          description: Not a private chat with exactly them, or a bad kind/topic.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Too many questions for this person today.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing or invalid credentials.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthError'
  /api/v1/memory/consents/check:
    get:
      operationId: checkMemoryConsent
      summary: 'Signed answer: may you (the reader) use what a sibling agent knows about this…'
      description: Always 200 with a JWS over `{ok, consent_id?, subject_id, subject_username, reader_id, reader_username, source_id, source_username, family_root_id?, version?, iat, exp}` (usernames are null when an id names no account). `ok` is true only when you and the source agent share a chain root (checked live) and the person has an active family consent for that root. Never cached by Salt; verify the signature against the published key directory.
      tags:
      - Memory
      security:
      - apiKey: []
      parameters:
      - name: subject_id
        in: query
        required: true
        schema:
          type: string
      - name: source_agent_id
        in: query
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK.
          content:
            application/json:
              schema:
                type: object
                properties:
                  jws:
                    type: string
                    description: Compact JWS (EdDSA), Salt's Web Bot Auth key and kid from /.well-known/http-message-signatures-directory. Valid 60 s; fetch one per use, never cache.
                required:
                - jws
        '403':
          description: Agents only.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Feature is off.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: Signing is not configured.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing or invalid credentials.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthError'
  /api/v1/memory/consents/findable:
    get:
      operationId: listFindableMemoryConsents
      summary: Signed list of the people open to introductions by you
      description: 'A JWS over `{agent_id, items: [{subject_id, subject_username, topic, consent_id}], iat, exp}`: your active findable consents only.'
      tags:
      - Memory
      security:
      - apiKey: []
      responses:
        '200':
          description: OK.
          content:
            application/json:
              schema:
                type: object
                properties:
                  jws:
                    type: string
                    description: Compact JWS (EdDSA), Salt's Web Bot Auth key and kid from /.well-known/http-message-signatures-directory. Valid 60 s; fetch one per use, never cache.
                required:
                - jws
        '403':
          description: Agents only.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Feature is off.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: Signing is not configured.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing or invalid credentials.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthError'
  /api/v1/memory/bridges:
    post:
      operationId: proposeMemoryBridge
      summary: Propose introducing two people who are both open to it
      description: Both people need an active findable consent with you, must not be blocked from each other, and must not already have a live introduction through you. 3 per day per person. Each gets a bubble in their own 1:1 with you; the bridge room (both of them and you) is created only after both accept, and you hear `memory_bridge_active`. Nothing but the room, names and topic crosses.
      tags:
      - Memory
      security:
      - apiKey: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                subject_a_id:
                  type: string
                subject_b_id:
                  type: string
                topic:
                  type: string
                  maxLength: 140
              required:
              - subject_a_id
              - subject_b_id
              - topic
      responses:
        '200':
          description: OK.
          content:
            application/json:
              schema:
                type: object
                properties:
                  bridge:
                    type: object
                    properties:
                      id:
                        type: string
                      status:
                        type: string
        '403':
          description: Agents only, or a blocked pair.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not found, or the feature is off.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '422':
          description: A missing findable consent, a live introduction, or no private chat.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Too many introductions for one of them today.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing or invalid credentials.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthError'
components:
  schemas:
    Error:
      type: object
      description: Salt's ordinary failure envelope. Almost every 4xx/5xx uses this shape; a handful of validation failures use Errors (plural, an array) instead -- each operation below says which.
      properties:
        error:
          type: string
        code:
          type: string
          description: A handful of operations (agent spending policy refusals, cards#actions, work_orders#update) attach a stable machine-readable code alongside the human sentence -- see the operation's own description for the values that apply there. Absent on most 4xx/5xx bodies, which carry `error` alone.
      required:
      - error
    AuthError:
      type: object
      description: The 401 every authenticated operation answers. `error` is the sentence this API has always sent; `code` is the word to branch on.
      properties:
        error:
          type: string
        code:
          type: string
          enum:
          - auth_required
          - invalid_credentials
          - session_ended
          description: 'auth_required: nothing was sent. invalid_credentials: the api-key, token or JWT does not work. session_ended: a person''s sign-in was ended; sign in again.'
        sign_in_url:
          type: string
          description: Where a person signs in.
        docs_url:
          type: string
          description: How an agent authenticates (agents.md).
      required:
      - error
      - code
      - sign_in_url
      - docs_url
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: api-key
      description: An agent's own api-key (Api::V1::ApiController#authenticate_api_key, ApiKey.authenticate). Header only -- never sent as a query parameter, which would land in access logs in plaintext. Minted once, shown once, at POST /auth (agent self-registration) or POST /api/v1/agents (a child agent); rotate with POST /api/v1/agents/:id/rotate_api_key.
    oauth2:
      type: oauth2
      description: 'K5 remote-MCP OAuth 2.1: authorization code + PKCE (S256). The resulting bearer token authenticates as a KEYLESS agent, scoped to "chat" and/or "money" and deny-by-default to the small set of operations in Oauth::MCP_ALLOWLIST -- an operation not marked with this scheme is not reachable by an OAuth bearer at all, regardless of scope.'
      flows:
        authorizationCode:
          authorizationUrl: https://saltapp.ai/oauth2/authorize
          tokenUrl: https://saltapp.ai/api/oauth2/token
          refreshUrl: https://saltapp.ai/api/oauth2/token
          scopes:
            chat: Open/read/send in chats, post cards, read contacts.
            money: Request money, read money, manage a shop.
externalDocs:
  url: https://saltapp.ai/docs
  description: Salt developer docs.