Letta Internal Templates API is one of 41 APIs that Letta publishes on the APIs.io network, described by a machine-readable OpenAPI specification.
This API exposes 14 JSON Schema definitions.
Tagged areas include Internal Templates. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, pricing, a changelog, and 14 JSON Schemas.
This API exposes
6 operations
across 5 paths,
and defines 86 schemas.
It is described by OpenAPI 3.1.0, at version 1.0.0.
Requests are made against 3 base URLs: https://api.letta.com, https://app.letta.com, http://localhost:8283.
The identity and technical contract details declared by the specification.
AgentEnvironmentVariable
object
10 properties
3 required
InternalTemplateBlockCreate
object
Used for Letta Cloud
16 properties
6 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
ToolCallContent
object
5 properties
3 required
TextContent
object
3 properties
1 required
RequiresApprovalToolRule
object
Represents a tool rule configuration which requires approval before the tool can be invoked.
3 properties
1 required
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
DeleteDeploymentResponse
object
Response model for delete deployment operation.
4 properties
1 required
Group
object
18 properties
4 required
FileBlock
object
23 properties
4 required
GeminiThinkingConfig
object
2 properties
OpenAIReasoning
object
1 property
LettaImage
object
5 properties
1 required
XAIModelSettings
object
xAI model configuration (OpenAI-compatible).
5 properties
VoiceSleeptimeManager
object
4 properties
1 required
ParentToolRule
object
A ToolRule that only allows a child tool to be called if the parent has been called.
4 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
ToolCall
object
3 properties
3 required
SupervisorManager
object
2 properties
1 required
AzureModelSettings
object
Azure OpenAI model configuration (OpenAI-compatible).
5 properties
OpenAIModelSettings
object
7 properties
GoogleAIModelSettings
object
6 properties
Tool
object
Representation of a tool, which is a function that can be called by the agent.
18 properties
ChatGPTOAuthModelSettings
object
ChatGPT OAuth model configuration (uses ChatGPT backend API).
5 properties
ToolReturnContent
object
4 properties
3 required
NpmRequirement
object
2 properties
1 required
HTTPValidationError
object
1 property
GoogleVertexModelSettings
object
6 properties
CreateBlock
object
Create a block
16 properties
2 required
GroqModelSettings
object
Groq model configuration (OpenAI-compatible).
5 properties
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
UrlImage
object
2 properties
1 required
OpenRouterModelSettings
object
OpenRouter model configuration (OpenAI-compatible).
5 properties
DeploymentEntity
object
A deployment entity.
6 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
ChatGPTOAuthReasoning
object
Reasoning configuration for ChatGPT OAuth models (GPT-5.x, o-series).
1 property
DynamicManager
object
4 properties
1 required
TogetherModelSettings
object
Together AI model configuration (OpenAI-compatible).
5 properties
TextResponseFormat
object
Response format for plain text responses.
1 property
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
RoundRobinManager
object
2 properties
Identity
object
8 properties
5 required
BedrockModelSettings
object
AWS Bedrock model configuration.
5 properties
AgentType
string
Enum to represent the type of agent.
RedactedReasoningContent
object
Sent via the Anthropic Messages API
2 properties
1 required
Base64Image
object
4 properties
2 required
MessageCreate
object
Request to create a message
8 properties
2 required
IdentityType
string
Enum to represent the type of the identity.
InitToolRule
object
Represents the initial tool rule configuration.
4 properties
1 required
IdentityPropertyType
string
Enum to represent the type of the identity property.
IdentityProperty
object
A property of an identity
3 properties
3 required
JsonSchemaResponseFormat
object
Response format for JSON schema-based responses.
2 properties
1 required
JsonObjectResponseFormat
object
Response format for JSON object responses.
1 property
ImageContent
object
2 properties
1 required
ContinueToolRule
object
Represents a tool rule configuration where if this tool gets called, it must continue the agent loop.
3 properties
1 required
SGLangModelSettings
object
SGLang model configuration (OpenAI-compatible runtime with SGLang-specific parsing).
8 properties
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
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
InternalTemplateGroupCreate
object
Used for Letta Cloud
9 properties
5 required
InternalTemplateAgentCreate
object
Used for Letta Cloud
50 properties
4 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
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
AnthropicModelSettings
object
9 properties
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
ChildToolRule
object
A ToolRule represents a tool that can be invoked by the agent.
5 properties
2 required
AnthropicThinking
object
2 properties
DeepseekModelSettings
object
Deepseek model configuration (OpenAI-compatible).
5 properties
SleeptimeManager
object
3 properties
1 required
ListDeploymentEntitiesResponse
object
Response model for listing deployment entities.
4 properties
3 required
The full machine-readable OpenAPI contract behind this narrative.
Other APIs Letta publishes across the network.