Letta · Example Payload

Letta Run Payload Example

Artificial IntelligenceAgentsStateful AgentsMemoryMemGPTContinual LearningMCPMulti-AgentRAGOpen-Source

Letta Run Payload Example is an example object payload from Letta, with 8 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

idagent_idstatusstep_countstarted_atcompleted_atusagemessages

Example Payload

Raw ↑
{
  "id": "run-77a3",
  "agent_id": "agent-2f6d4a13-5e9c-4b7e-a3f1-7b8e9c1d2e34",
  "status": "completed",
  "step_count": 1,
  "started_at": "2026-05-22T10:35:01Z",
  "completed_at": "2026-05-22T10:35:04Z",
  "usage": {
    "prompt_tokens": 1240,
    "completion_tokens": 86,
    "total_tokens": 1326,
    "step_count": 1
  },
  "messages": [
    {"message_type": "user_message", "content": "Hi, can you remember that I prefer concise answers?"},
    {"message_type": "reasoning_message", "reasoning": "Update core memory: human prefers concise answers."},
    {"message_type": "tool_call_message", "tool_call": {"name": "core_memory_append", "arguments": {"label": "human", "content": "Prefers concise answers."}}},
    {"message_type": "tool_return_message", "tool_return": "OK"},
    {"message_type": "assistant_message", "content": "Got it — I will keep answers concise."}
  ]
}

Work with this as data

Every example 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 examples

4 MCP tools reach this
  • find_examplesBrowse and filter every example 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 example
curl "https://apis.io/api/v1/examples/letta-run-payload-example"
All examples
curl "https://apis.io/api/v1/examples?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.