Letta · Example Payload
Letta Create Agent Example
Artificial IntelligenceAgentsStateful AgentsMemoryMemGPTContinual LearningMCPMulti-AgentRAGOpen-Source
Letta Create Agent 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
{
"operation": "Create Agent",
"method": "POST",
"path": "/v1/agents/",
"auth": "Bearer token (LETTA_API_KEY)",
"request": {
"method": "POST",
"path": "/v1/agents",
"headers": {
"Authorization": "Bearer $LETTA_API_KEY",
"Content-Type": "application/json"
},
"body": {
"name": "support-agent-1",
"model": "openai/gpt-4.1",
"embedding": "openai/text-embedding-3-small",
"memory_blocks": [
{
"label": "persona",
"value": "You are a calm, patient API support agent. You remember every customer interaction.",
"limit": 2000
},
{
"label": "human",
"value": "The user is Kin Lane, founder of API Evangelist.",
"limit": 1000
}
],
"tools": [
"web_search",
"run_code"
],
"include_base_tools": true
}
},
"response": {
"status": 201,
"body": {
"id": "agent-2f6d4a13-5e9c-4b7e-a3f1-7b8e9c1d2e34",
"name": "support-agent-1",
"created_at": "2026-05-22T10:00:00Z",
"llm_config": {
"model": "gpt-4.1",
"model_endpoint_type": "openai"
},
"embedding_config": {
"embedding_model": "text-embedding-3-small"
},
"memory": {
"blocks": [
{
"id": "block-a1",
"label": "persona",
"value": "You are a calm, patient API support agent.",
"limit": 2000
},
{
"id": "block-b2",
"label": "human",
"value": "The user is Kin Lane, founder of API Evangelist.",
"limit": 1000
}
]
},
"tools": [
{
"name": "web_search"
},
{
"name": "run_code"
},
{
"name": "core_memory_append"
},
{
"name": "core_memory_replace"
},
{
"name": "conversation_search"
},
{
"name": "archival_memory_insert"
}
]
}
}
}
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.
Call it yourself
curl for this page
This example
curl "https://apis.io/api/v1/examples/letta-create-agent-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.