Letta · Schema
RetrieveStreamRequest
Artificial IntelligenceAgentsStateful AgentsMemoryMemGPTContinual LearningMCPMulti-AgentRAGOpen-Source
Properties
| Name | Type | Description |
|---|---|---|
| agent_id | object | Agent ID for agent-direct mode with 'default' conversation. Use with conversation_id='default' in the URL path. |
| run_id | object | Run ID to stream directly, bypassing run lookup. Use for recovery from duplicate requests. |
| otid | object | Offline threading ID to look up the run_id. Bypasses active run lookup if run_id not provided. |
| starting_after | integer | Sequence id to use as a cursor for pagination. Response will start streaming after this chunk sequence id |
| include_pings | object | Whether to include periodic keepalive ping messages in the stream to prevent connection timeouts. |
| poll_interval | object | Seconds to wait between polls when no new data. |
| batch_size | object | Number of entries to read per batch. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/RetrieveStreamRequest",
"title": "RetrieveStreamRequest",
"properties": {
"agent_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Agent Id",
"description": "Agent ID for agent-direct mode with 'default' conversation. Use with conversation_id='default' in the URL path."
},
"run_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Run Id",
"description": "Run ID to stream directly, bypassing run lookup. Use for recovery from duplicate requests."
},
"otid": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Otid",
"description": "Offline threading ID to look up the run_id. Bypasses active run lookup if run_id not provided."
},
"starting_after": {
"type": "integer",
"title": "Starting After",
"description": "Sequence id to use as a cursor for pagination. Response will start streaming after this chunk sequence id",
"default": 0
},
"include_pings": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Include Pings",
"description": "Whether to include periodic keepalive ping messages in the stream to prevent connection timeouts.",
"default": true
},
"poll_interval": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Poll Interval",
"description": "Seconds to wait between polls when no new data.",
"default": 0.1
},
"batch_size": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Batch Size",
"description": "Number of entries to read per batch.",
"default": 100
}
},
"type": "object"
}
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-retrievestreamrequest"
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.