Letta · Schema

SearchAllMessagesRequest

Artificial IntelligenceAgentsStateful AgentsMemoryMemGPTContinual LearningMCPMulti-AgentRAGOpen-Source

Properties

Name Type Description
query string Text query for full-text search
search_mode string Search mode to use
agent_id object Filter messages by agent ID
conversation_id object Filter messages by conversation ID
limit integer Maximum number of results to return
start_date object Filter messages created after this date
end_date object Filter messages created on or before this date
View JSON Schema on GitHub

JSON Schema

letta-searchallmessagesrequest-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/SearchAllMessagesRequest",
  "title": "SearchAllMessagesRequest",
  "properties": {
    "query": {
      "type": "string",
      "title": "Query",
      "description": "Text query for full-text search"
    },
    "search_mode": {
      "type": "string",
      "enum": [
        "vector",
        "fts",
        "hybrid"
      ],
      "title": "Search Mode",
      "description": "Search mode to use",
      "default": "hybrid"
    },
    "agent_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Agent Id",
      "description": "Filter messages by agent ID"
    },
    "conversation_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Conversation Id",
      "description": "Filter messages by conversation ID"
    },
    "limit": {
      "type": "integer",
      "maximum": 100,
      "minimum": 1,
      "title": "Limit",
      "description": "Maximum number of results to return",
      "default": 50
    },
    "start_date": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Start Date",
      "description": "Filter messages created after this date"
    },
    "end_date": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "End Date",
      "description": "Filter messages created on or before this date"
    }
  },
  "type": "object",
  "required": [
    "query"
  ]
}

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-searchallmessagesrequest"
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.