Letta · Example Payload

Letta Run Payload Example

AIAgentsStateful 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."}
  ]
}