Skip to content
Letta Platform Letta Platform Letta Docs
Sign up

Templates

Save template version (Cloud-only)
POST/v1/templates/{template_name}/save
Delete template (Cloud-only)
DELETE/v1/templates/{template_name}
Rollback template to previous version (Cloud-only)
POST/v1/templates/{template_name}/rollback
ModelsExpand Collapse
TemplateCreateResponse object { id, latest_version, name, 5 more }
id: string
latest_version: string

The latest version of the template

name: string

The exact name of the template

project_id: string
project_slug: string
template_deployment_slug: string

The full name of the template, including version and project slug

updated_at: string

When the template was last updated

description: optional string
TemplateSaveResponse object { id, latest_version, name, 5 more }
id: string
latest_version: string

The latest version of the template

name: string

The exact name of the template

project_id: string
project_slug: string
template_deployment_slug: string

The full name of the template, including version and project slug

updated_at: string

When the template was last updated

description: optional string
TemplateDeleteResponse object { success }
success: boolean
TemplateUpdateResponse object { success, message }
success: boolean
message: optional string
TemplateRollbackResponse object { success, message }
success: boolean
message: optional string

TemplatesAgents

Create Agents From Template
POST/v1/templates/{template_version}/agents
ModelsExpand Collapse
AgentCreateResponse object { agent_ids, deployment_id, group_id }

Response containing created agent IDs and associated metadata

agent_ids: array of string

Array of created agent IDs

deployment_id: string

The deployment ID for the created agents

group_id: string

Optional group ID if agents were created in a group