The identity and technical contract details declared by the specification.
CancelAgentRunRequest
object
1 property
BlockSchema
object
Block with human-readable ID for agent file
17 properties
3 required
AgentEnvironmentVariable
object
10 properties
3 required
ToolExecutionResult
object
6 properties
1 required
ConditionalToolRule
object
A ToolRule that conditionally maps to different child tools based on the output.
6 properties
2 required
ZAIThinking
object
Thinking configuration for ZAI GLM-4.5+ models.
2 properties
TextContent
object
3 properties
1 required
ToolCallContent
object
5 properties
3 required
RequiresApprovalToolRule
object
Represents a tool rule configuration which requires approval before the tool can be invoked.
3 properties
1 required
GroupSchema
object
Group with human-readable ID for agent file
7 properties
3 required
LettaToolReturnContentUnion
CompactionSettings-Output
object
Configuration for conversation compaction / summarization. Per-model settings (temperature, max tokens, etc.) are derived from the default configuration for th…
7 properties
Group
object
18 properties
4 required
FileBlock
object
23 properties
4 required
GeminiThinkingConfig
object
2 properties
DynamicManagerSchema
object
4 properties
1 required
letta__serialize_schemas__pydantic_agent_schema__MessageSchema
object
10 properties
10 required
UpdateUserMessage
object
2 properties
1 required
OpenAIReasoning
object
1 property
LettaImage
object
5 properties
1 required
PaginatedAgentFiles
object
Paginated response for agent files
3 properties
2 required
XAIModelSettings
object
xAI model configuration (OpenAI-compatible).
5 properties
ToolEnvVarSchema
object
5 properties
5 required
LettaAssistantMessageContentUnion
ParentToolRule
object
A ToolRule that only allows a child tool to be called if the parent has been called.
4 properties
2 required
LettaPing
object
A ping message used as a keepalive to prevent SSE streams from timing out during long running requests. Args: id (str): The ID of the message date (datetime):…
10 properties
2 required
CompactionSettings-Input
object
Configuration for conversation compaction / summarization. Per-model settings (temperature, max tokens, etc.) are derived from the default configuration for th…
7 properties
EmbeddingConfig
object
Configuration for embedding model connection and processing parameters.
10 properties
3 required
ReasoningContent
object
Sent via the Anthropic Messages API
4 properties
2 required
ToolJSONSchema
object
5 properties
3 required
ToolCall
object
3 properties
3 required
AzureModelSettings
object
Azure OpenAI model configuration (OpenAI-compatible).
5 properties
UserMessage
object
A message sent by the user. Never streamed back on a response, only used for cursor pagination. Args: id (str): The ID of the message date (datetime): The date…
11 properties
3 required
OpenAIModelSettings
object
7 properties
UpdateSystemMessage
object
2 properties
1 required
GoogleAIModelSettings
object
6 properties
FileAgentSchema
object
File-Agent relationship with human-readable ID for agent file
10 properties
5 required
Tool
object
Representation of a tool, which is a function that can be called by the agent.
18 properties
letta__schemas__mcp_server__ToolExecuteRequest
object
Request to execute a tool.
1 property
ChatGPTOAuthModelSettings
object
ChatGPT OAuth model configuration (uses ChatGPT backend API).
5 properties
EventMessage
object
A message for notifying the developer that an event that has occured (e.g. a compaction). Events are NOT part of the context window.
12 properties
4 required
ToolReturnContent
object
4 properties
3 required
ExportAgentRequest
object
Request body for POST /export endpoint.
3 properties
Passage
object
Representation of a passage, which is stored in archival memory.
15 properties
3 required
RunStatus
string
Status of the run.
ToolReturnCreate
object
Submit tool return(s) from client-side tool execution. This is the preferred way to send tool results back to the agent after client-side tool execution. It is…
4 properties
1 required
openai__types__chat__chat_completion_message_function_tool_call__Function
object
The function that the model called.
2 properties
2 required
NpmRequirement
object
2 properties
1 required
HTTPValidationError
object
1 property
SkillSchema
object
Skill schema for agent files. Skills are folders of instructions, scripts, and resources that agents can load. Either files (with SKILL.md) or sourceurl must b…
3 properties
1 required
GoogleVertexModelSettings
object
6 properties
CreateBlock
object
Create a block
16 properties
2 required
GroqModelSettings
object
Groq model configuration (OpenAI-compatible).
5 properties
SourceSchema
object
Source with human-readable ID for agent file
8 properties
2 required
letta__serialize_schemas__pydantic_agent_schema__ToolSchema
object
12 properties
11 required
LLMConfig
object
Configuration for Language Model (LLM) connection and generation parameters. .. deprecated:: LLMConfig is deprecated and should not be used as an input or retu…
27 properties
3 required
MCPServerSchema
object
MCP server schema for agent files with remapped ID.
6 properties
3 required
SleeptimeManagerSchema
object
3 properties
1 required
LettaRequest
object
16 properties
Body_export_agent
object
2 properties
LettaStopReason
object
The stop reason from Letta indicating why agent loop stopped execution.
2 properties
1 required
ParametersSchema
object
3 properties
1 required
UrlImage
object
2 properties
1 required
TurnTokenData
object
Token data for a single LLM generation turn in a multi-turn agent interaction. Used for RL training to track token IDs and logprobs across all LLM calls, not j…
5 properties
1 required
OpenRouterModelSettings
object
OpenRouter model configuration (OpenAI-compatible).
5 properties
SummarizedReasoningContent
object
The style of reasoning content returned by the OpenAI Responses API
4 properties
2 required
PipRequirement
object
2 properties
1 required
TerminalToolRule
object
Represents a terminal tool rule configuration where if this tool gets called, it must end the agent loop.
3 properties
1 required
ArchivalMemorySearchResult
object
4 properties
3 required
TagSchema
object
1 property
1 required
ChatCompletionMessageFunctionToolCall-Output
object
A call to a function tool created by the model.
3 properties
3 required
ChatGPTOAuthReasoning
object
Reasoning configuration for ChatGPT OAuth models (GPT-5.x, o-series).
1 property
letta__schemas__openai__chat_completion_response__TopLogprob
object
3 properties
2 required
TogetherModelSettings
object
Together AI model configuration (OpenAI-compatible).
5 properties
FunctionTool
object
2 properties
2 required
BlockResponse
object
19 properties
2 required
FileSchema
object
File with human-readable ID for agent file
14 properties
2 required
ApprovalReturn
object
4 properties
2 required
CompactionStats
object
Statistics about a memory compaction operation.
6 properties
4 required
UpdateReasoningMessage
object
2 properties
1 required
TextResponseFormat
object
Response format for plain text responses.
1 property
AssistantMessage
object
A message sent by the LLM in response to user input. Used in the LLM context. Args: id (str): The ID of the message date (datetime): The date the message was c…
11 properties
3 required
LettaErrorMessage
object
Error messages are used to notify the client of an error that occurred during the agent's execution.
6 properties
4 required
VoiceSleeptimeManagerSchema
object
4 properties
1 required
ToolCallDelta
object
3 properties
MaxCountPerStepToolRule
object
Represents a tool rule configuration which constrains the total number of times this tool can be invoked in a single step.
4 properties
2 required
HiddenReasoningMessage
object
Representation of an agent's internal reasoning where reasoning content has been hidden from the response. Args: id (str): The ID of the message date (datetime…
12 properties
3 required
letta__schemas__agent_file__AgentSchema
object
Agent with human-readable ID for agent file
53 properties
1 required
ImportedAgentsResponse
object
Response model for imported agents
1 property
1 required
Body_import_agent
object
13 properties
1 required
RoundRobinManager
object
2 properties
GenerateResponse
object
Response from direct LLM generation.
3 properties
3 required
ToolReturnMessage
object
A message representing the return value of a tool call (generated by Letta executing the requested tool). Args: id (str): The ID of the message date (datetime)…
16 properties
5 required
FileProcessingStatus
string
ChildToolRuleSchema
object
3 properties
3 required
ApprovalResponseMessage
object
A message representing a response form the user indicating whether a tool has been approved to run. Args: id (str): The ID of the message date (datetime): The…
14 properties
2 required
Identity
object
8 properties
5 required
BedrockModelSettings
object
AWS Bedrock model configuration.
5 properties
MessageSearchResult
object
Result from a message search operation with scoring details.
5 properties
3 required
ModifyApprovalRequest
object
Request body for modifying tool approval requirements.
1 property
1 required
CoreMemoryBlockSchema
object
9 properties
8 required
RedactedReasoningContent
object
Sent via the Anthropic Messages API
2 properties
1 required
Base64Image
object
4 properties
2 required
AgentType
string
Enum to represent the type of agent.
GenerateRequest
object
Request for direct LLM generation without agent processing.
4 properties
1 required
CompactionResponse
object
3 properties
3 required
ClientToolSchema
object
Schema for a client-side tool passed in the request. Client-side tools are executed by the client, not the server. When the agent calls a client-side tool, exe…
3 properties
1 required
SummaryMessage
object
A message representing a summary of the conversation. Sent to the LLM as a user or system message depending on the provider.
12 properties
3 required
MessageCreate
object
Request to create a message
8 properties
2 required
LettaAsyncRequest
object
17 properties
letta__serialize_schemas__pydantic_agent_schema__AgentSchema
object
19 properties
18 required
ArchivalMemorySearchResponse
object
2 properties
2 required
MessageSearchRequest
object
Request model for searching messages across the organization
10 properties
letta__server__rest_api__routers__v1__agents__CompactionRequest
object
1 property
CreateArchivalMemory
object
3 properties
1 required
ChatCompletionMessageFunctionToolCall-Input
object
A call to a function tool created by the model.
3 properties
3 required
letta__schemas__message__ToolReturn-Output
object
5 properties
1 required
letta__schemas__agent_file__MessageSchema
object
Message with human-readable ID for agent file
19 properties
3 required
IdentityType
string
Enum to represent the type of the identity.
InitToolRule
object
Represents the initial tool rule configuration.
4 properties
1 required
Function-Output
object
The function that the model called.
2 properties
2 required
LettaStreamingRequest
object
20 properties
IdentityPropertyType
string
Enum to represent the type of the identity property.
letta__schemas__agent_file__ToolSchema
object
Tool with human-readable ID for agent file
18 properties
1 required
SupervisorManagerSchema
object
2 properties
1 required
BlockUpdate
object
Update a block
16 properties
LettaResponse
object
Response object from an agent interaction, consisting of the new messages generated by the agent and usage statistics. The type of the returned messages can be…
5 properties
3 required
IdentityProperty
object
A property of an identity
3 properties
3 required
AgentFileAttachment
object
Response model for agent file attachments showing file status in agent context
10 properties
6 required
AgentFileSchema
object
Schema for serialized agent file that can be exported to JSON and imported into agent server.
10 properties
7 required
ContextWindowOverview
object
Overview of the context window, including the number of messages and tokens.
23 properties
16 required
JsonSchemaResponseFormat
object
Response format for JSON schema-based responses.
2 properties
1 required
JsonObjectResponseFormat
object
Response format for JSON object responses.
1 property
SystemMessage
object
A message generated by the system. Never streamed back on a response, only used for cursor pagination. Args: id (str): The ID of the message date (datetime): T…
11 properties
3 required
UpdateAgent
object
37 properties
ImageContent
object
2 properties
1 required
Message
object
Letta's internal representation of a message. Includes methods to convert to/from LLM provider formats. Attributes: id (str): The unique identifier of the mess…
25 properties
1 required
UpdateAssistantMessage
object
2 properties
1 required
letta__schemas__letta_message__ToolReturn
object
6 properties
3 required
ContinueToolRule
object
Represents a tool rule configuration where if this tool gets called, it must continue the agent loop.
3 properties
1 required
LettaUserMessageContentUnion
MaxCountPerStepToolRuleSchema
object
3 properties
3 required
ParameterProperties
object
2 properties
1 required
OmittedReasoningContent
object
A placeholder for reasoning content we know is present, but isn't returned by the provider (e.g. OpenAI GPT-5 on ChatCompletions)
2 properties
SGLangModelSettings
object
SGLang model configuration (OpenAI-compatible runtime with SGLang-specific parsing).
8 properties
BaseToolRuleSchema
object
2 properties
2 required
letta__schemas__openai__chat_completion_response__ChatCompletionTokenLogprob
object
4 properties
3 required
LettaUsageStatistics
object
Usage statistics for the agent interaction. Attributes: completiontokens (int): The number of tokens generated by the agent. prompttokens (int): The number of…
10 properties
VectorDBProvider
string
Supported vector database providers for archival memory
AgentState
object
Representation of an agent's state. This is the state of the agent at a given time, and is persisted in the DB backend. The state has all the information neede…
45 properties
10 required
ConditionalToolRuleSchema
object
5 properties
5 required
letta__schemas__openai__chat_completion_response__ChoiceLogprobs
object
2 properties
ReasoningMessage
object
Representation of an agent's internal reasoning. Args: id (str): The ID of the message date (datetime): The date the message was created in ISO format name (Op…
13 properties
3 required
Run
object
Representation of a run - a conversation or processing session for an agent. Runs track when agents process messages and maintain the relationship between agen…
17 properties
1 required
letta__schemas__message__ToolReturn-Input
object
5 properties
1 required
ToolCallNode
object
Typed child override for prefilled arguments. When used in a ChildToolRule, if this child is selected next, its args will be applied as prefilled arguments (ov…
2 properties
1 required
Source
object
(Deprecated: Use Folder) Representation of a source, which is a collection of files and passages.
11 properties
2 required
Block
object
A Block represents a reserved section of the LLM's context window.
19 properties
1 required
RequiredBeforeExitToolRule
object
Represents a tool rule configuration where this tool must be called before the agent loop can exit.
3 properties
1 required
ZAIModelSettings
object
Z.ai (ZhipuAI) model configuration (OpenAI-compatible).
6 properties
ValidationError
object
3 properties
3 required
LettaRequestConfig
object
4 properties
ResetMessagesRequest
object
Request body for resetting messages on an agent.
1 property
AnthropicModelSettings
object
9 properties
ApprovalRequestMessage
object
A message representing a request for approval to call a tool (generated by the LLM to trigger tool execution). Args: id (str): The ID of the message date (date…
12 properties
3 required
Memory
object
Represents the in-context memory (i.e. Core memory) of the agent. This includes both the Block objects (labelled by sections), as well as tools to edit the blo…
5 properties
1 required
BasetenModelSettings
object
Baseten model configuration (OpenAI-compatible).
4 properties
FunctionDefinition
object
4 properties
1 required
ClientSkillSchema
object
Schema for a client-side skill passed in the request. Client-side skills represent environment-provided capabilities (e.g. project-scoped skills) that are not…
3 properties
3 required
ChildToolRule
object
A ToolRule represents a tool that can be invoked by the agent.
5 properties
2 required
AnthropicThinking
object
2 properties
LettaStreamingResponse
Streaming response type for Server-Sent Events (SSE) endpoints. Each event in the stream will be one of these types.
CreateAgentRequest
object
CreateAgent model specifically for POST request body, excluding userid which comes from headers
48 properties
DeepseekModelSettings
object
Deepseek model configuration (OpenAI-compatible).
5 properties
ApprovalCreate
object
Input to approve or deny a tool call request
7 properties
ToolCallMessage
object
A message representing a request to call a tool (generated by the LLM to trigger tool execution). Args: id (str): The ID of the message date (datetime): The da…
12 properties
3 required
SummarizedReasoningContentPart
object
2 properties
2 required
The full machine-readable OpenAPI contract behind this narrative.
Other APIs Letta publishes across the network.