Letta · Schema

Memory

Represents the in-context memory (i.e. Core memory) of the agent. This includes both the `Block` objects (labelled by sections), as well as tools to edit the blocks.

Artificial IntelligenceAgentsStateful AgentsMemoryMemGPTContinual LearningMCPMulti-AgentRAGOpen-Source

Properties

Name Type Description
agent_type object Agent type controlling prompt rendering.
git_enabled boolean Whether this agent uses git-backed memory with structured labels.
blocks array Memory blocks contained in the agent's in-context memory
file_blocks array Special blocks representing the agent's in-context memory of an attached file
prompt_template string Deprecated. Ignored for performance.
View JSON Schema on GitHub

JSON Schema

letta-memory-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Memory",
  "title": "Memory",
  "properties": {
    "agent_type": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/AgentType"
        },
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Agent Type",
      "description": "Agent type controlling prompt rendering."
    },
    "git_enabled": {
      "type": "boolean",
      "title": "Git Enabled",
      "description": "Whether this agent uses git-backed memory with structured labels.",
      "default": false
    },
    "blocks": {
      "items": {
        "$ref": "#/components/schemas/Block"
      },
      "type": "array",
      "title": "Blocks",
      "description": "Memory blocks contained in the agent's in-context memory"
    },
    "file_blocks": {
      "items": {
        "$ref": "#/components/schemas/FileBlock"
      },
      "type": "array",
      "title": "File Blocks",
      "description": "Special blocks representing the agent's in-context memory of an attached file"
    },
    "prompt_template": {
      "type": "string",
      "title": "Prompt Template",
      "description": "Deprecated. Ignored for performance.",
      "default": ""
    }
  },
  "type": "object",
  "required": [
    "blocks"
  ],
  "description": "Represents the in-context memory (i.e. Core memory) of the agent. This includes both the `Block` objects (labelled by sections), as well as tools to edit the blocks."
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • 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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/letta-memory"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

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