v36

latestOpenAPI 3.1.0raw.githubusercontent.com2025-10-091882241.2 MB
templates

Save template version (Cloud-only)

Saves the current version of the template as a new version

post/v1/templates/{project_id}/{template_name}

Path parameters

project_idstring required

The project id

template_namestring required

The template version, formatted as {template-name}, any version appended will be ignored

Request body

preserve_environment_variables_on_migrationboolean

If true, the environment variables will be preserved in the template version when migrating agents

preserve_core_memories_on_migrationboolean

If true, the core memories will be preserved in the template version when migrating agents

migrate_agentsboolean

If true, existing agents attached to this template will be migrated to the new template version

messagestring

A message to describe the changes made in this template version

Response

200

namestring required

The exact name of the template

idstring required
project_idstring required
project_slugstring required
latest_versionstring required

The latest version of the template

descriptionstring
template_deployment_slugstring required

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

updated_atstring required

When the template was last updated