Letta · Example Payload

Letta List Chat Models Example

AIAgentsStateful AgentsMemoryMemGPTContinual LearningMCPMulti-AgentRAGOpen Source

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

Top-level fields

operationmethodpathauthrequestresponse

Example Payload

Raw ↑
{
  "operation": "List Chat Models",
  "method": "GET",
  "path": "/v1/models/",
  "auth": "Bearer token (LETTA_API_KEY)",
  "request": {
    "method": "GET",
    "path": "/v1/models",
    "headers": {
      "Authorization": "Bearer $LETTA_API_KEY"
    }
  },
  "response": {
    "status": 200,
    "body": [
      {
        "model": "gpt-4.1",
        "model_endpoint_type": "openai",
        "context_window": 128000
      },
      {
        "model": "claude-opus-4-7",
        "model_endpoint_type": "anthropic",
        "context_window": 1000000
      },
      {
        "model": "gemini-2.5-pro",
        "model_endpoint_type": "google_ai",
        "context_window": 2000000
      }
    ]
  }
}