How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Letta Internal Templates API

Internal Templates operations.

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.

6 operations 5 paths 86 schemas 1 DELETE1 GET4 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
1.0.0
Base URL
https://api.letta.com
Authentication
HTTP Bearer
Contact
License
Resource Areas
1

Authentication & Security 1

Letta Internal Templates API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (bearerAuth). By default, every request must be authenticated.

Paths & Operations 6

Across 5 paths, the API surfaces 6 operations — 1 DELETE, 1 GET, 4 POST. Each is listed below with its method, path, parameters, and response codes.

Internal Templates 6

Internal Templates operations.

POST
/v1/_internal_templates/groups
Create Group
create_internal_template_group body → 200422
POST
/v1/_internal_templates/agents
Create Agent
create_internal_template_agent body → 200422
POST
/v1/_internal_templates/blocks
Create Block
create_internal_template_block body → 200422
POST
/v1/_internal_templates/blocks/batch
Create Blocks Batch
create_internal_template_blocks_batch body → 200422
GET
/v1/_internal_templates/deployment/{deployment_id}
List Deployment Entities
list_deployment_entities 2 params → 200422
DELETE
/v1/_internal_templates/deployment/{deployment_id}
Delete Deployment
delete_deployment 1 param → 200422

Schemas 86

The contract defines 86 schemas that model the data the API accepts and returns. The most detailed are InternalTemplateAgentCreate (50 properties), AgentState (45 properties), LLMConfig (27 properties), FileBlock (23 properties). Each schema is shown below with its type and property counts.

AgentEnvironmentVariable
object
10 properties 3 required
ToolType
string
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
ManagerType
string
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
LettaMessageContentUnion
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
StopReasonType
string
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
ProviderCategory
string
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

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

letta-internal-templates-api-openapi.yml Raw ↑

Other APIs Letta publishes across the network.

Letta Code
Letta Admin API
Letta Agents API
Letta Archives API
Letta Blocks API
Letta Chat API
Letta Client-Side Access Tokens API
Letta Conversations API
Letta Device Storage API
Letta Embeddings API
Letta Environments API
Letta Feeds API
Where this information came from

This is an independent, third-party profile of Letta Internal Templates API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.