Relevance AI User Memory API

The user-memory API from Relevance AI — 3 operation(s) for user-memory.

Operations 3

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /user-memory/upsert Save or update a memory about me for an agent · UpsertUserMemory #
Ask an LLM
“How do I make an agent remember something about me?”
“Can I set a category and importance on an agent's user memory?”
Tell an agent
Remember for agent {agent_id}: {text}.
Update memory {memory_id} for agent {agent_id} to say {text}.
POST /user-memory/delete Delete a user memory · DeleteUserMemory #
Ask an LLM
“How do I make an agent forget something it remembered about me?”
“Can I delete one stored user memory by ID?”
Tell an agent destructive · confirm first
Delete user memory {memory_id}.
Forget the memory {memory_id}.
POST /user-memory/list List what an agent remembers about me · ListUserMemories #
Ask an LLM
“What does an agent remember about me?”
“Can I page through the user memories an agent has stored?”
Tell an agent
List my user memories for agent {agent_id}.
Show page {page} of memories agent {agent_id} holds about me.

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/relevance-ai:relevance-ai-user-memory-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

relevance-ai-user-memory-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: Relevance AI Endpoints
  title: Relevance AI Endpoints User Memory API
  version: latest
  contact:
    email: dev@tryrelevance.com
servers:
- url: /latest
security:
- AuthorizationHeader:
  - Authorization
tags:
- name: user memory
paths:
  /user-memory/upsert:
    post:
      summary: UpsertUserMemory
      tags:
      - user memory
      description: 'Create or update a user-level memory for an agent


        ### Required permissions

        > [

        {

        "actions": [

        "agents:read"

        ]

        }

        ]'
      operationId: UpsertUserMemory
      parameters: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpsertUserMemoryInput'
      responses:
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UpsertUserMemoryOutput'
  /user-memory/delete:
    post:
      summary: DeleteUserMemory
      tags:
      - user memory
      description: 'Delete a user-level memory


        ### Required permissions

        > [

        {

        "actions": [

        "agents:read"

        ]

        }

        ]'
      operationId: DeleteUserMemory
      parameters: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DeleteUserMemoryInput'
      responses:
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteUserMemoryOutput'
  /user-memory/list:
    post:
      summary: ListUserMemories
      tags:
      - user memory
      description: 'List user-level memories for an agent


        ### Required permissions

        > [

        {

        "actions": [

        "agents:read"

        ]

        }

        ]'
      operationId: ListUserMemories
      parameters: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ListUserMemoriesInput'
      responses:
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListUserMemoriesOutput'
components:
  schemas:
    UpsertUserMemoryOutput:
      type: object
      properties:
        success:
          type: boolean
        memory_id:
          type: string
      required:
      - success
      - memory_id
      additionalProperties: false
    DeleteUserMemoryInput:
      type: object
      properties:
        memory_id:
          type: string
          description: Memory ID to delete
      required:
      - memory_id
      additionalProperties: false
    DeleteUserMemoryOutput:
      type: object
      properties:
        success:
          type: boolean
      required:
      - success
      additionalProperties: false
    ListUserMemoriesOutput:
      type: object
      properties:
        memories:
          type: array
          items:
            type: object
            properties:
              memory_id:
                type: string
                description: Unique memory identifier
              text:
                type: string
                description: Memory content
              category:
                type: string
                enum:
                - preference
                - fact
                - instruction
              importance:
                type: string
                enum:
                - high
                - medium
                - low
              reasoning:
                type: string
                description: Why this memory was saved
              created_at:
                type: string
                format: date-time
              updated_at:
                type: string
                format: date-time
            required:
            - memory_id
            - text
            - category
            - importance
            additionalProperties: false
        total:
          type: number
      required:
      - memories
      - total
      additionalProperties: false
    UpsertUserMemoryInput:
      type: object
      properties:
        agent_id:
          type: string
          description: Agent ID
        memory_id:
          type: string
          description: Memory ID (optional, will generate UUID if not provided)
        text:
          type: string
          minLength: 1
          description: Memory content
        category:
          type: string
          enum:
          - preference
          - fact
          - instruction
          default: fact
        importance:
          type: string
          enum:
          - high
          - medium
          - low
          default: medium
        reasoning:
          type: string
          description: Why this memory is being saved
      required:
      - agent_id
      - text
      additionalProperties: false
    ListUserMemoriesInput:
      type: object
      properties:
        agent_id:
          type: string
          description: Agent ID
        page:
          type: number
          default: 1
        page_size:
          type: number
          default: 50
          maximum: 100
      required:
      - agent_id
      additionalProperties: false
  securitySchemes:
    AuthorizationHeader:
      type: apiKey
      in: header
      name: Authorization
      description: 'Authorization credentials. Header authorization should be in the form of: project:api_key'
x-provenance:
  method: harvested
  publisher: Relevance AI
  source: https://api-f1db6c.stack.tryrelevance.com/latest/openapi_schema.json
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)