Letta · Schema
PassageSearchRequest
Request model for searching passages across archives.
Artificial IntelligenceAgentsStateful AgentsMemoryMemGPTContinual LearningMCPMulti-AgentRAGOpen-Source
Properties
| Name | Type | Description |
|---|---|---|
| query | object | Text query for semantic search |
| agent_id | object | Filter passages by agent ID |
| archive_id | object | Filter passages by archive ID |
| tags | object | Optional list of tags to filter search results |
| tag_match_mode | string | How to match tags - 'any' to match passages with any of the tags, 'all' to match only passages with all tags |
| limit | integer | Maximum number of results to return |
| start_date | object | Filter results to passages created after this datetime |
| end_date | object | Filter results to passages created before this datetime |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/PassageSearchRequest",
"title": "PassageSearchRequest",
"properties": {
"query": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Query",
"description": "Text query for semantic search"
},
"agent_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Agent Id",
"description": "Filter passages by agent ID"
},
"archive_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Archive Id",
"description": "Filter passages by archive ID"
},
"tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Tags",
"description": "Optional list of tags to filter search results"
},
"tag_match_mode": {
"type": "string",
"enum": [
"any",
"all"
],
"title": "Tag Match Mode",
"description": "How to match tags - 'any' to match passages with any of the tags, 'all' to match only passages with all tags",
"default": "any"
},
"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 results to passages created after this datetime"
},
"end_date": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
],
"title": "End Date",
"description": "Filter results to passages created before this datetime"
}
},
"type": "object",
"description": "Request model for searching passages across archives."
}
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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/letta-passagesearchrequest"
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 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.