Update current template from agent file (Cloud-only)
Updates the current working version of a template from an agent file
Authentication
AuthorizationBearer
Header authentication of the form Bearer <token>
Path parameters
project_id
The project id
template_name
The template name (without version)
Request
Body
agent_file_json
The agent file to update the current template version from
update_existing_tools
If true, update existing custom tools source_code and json_schema (source_type cannot be changed)
save_existing_changes
If true, Letta will automatically save any changes as a version before updating the template
Response
200
success
message