templates

Create agents from a template (Cloud-only)

Changed on

Creates an Agent or multiple Agents from a template

post/v1/templates/{project_id}/{template_version}/agents

Request

  • Base URL
    https://app.letta.com
  • URL
    https://app.letta.com/v1/templates/{project_id}/{template_version}/agents
  • Auth
    HTTP bearer

Path parameters

project_idstring required

The project id

template_versionstring required

The template version, formatted as {template-name}:{version-number} or {template-name}:latest

Request body

tagsstring[]

The tags to assign to the agent

agent_namestring

The name of the agent, optional otherwise a random one will be assigned

memory_variablesobject

The memory variables to assign to the agent

tool_variablesobject

The tool variables to assign to the agent

identity_idsstring[]

The identity ids to assign to the agent

Response

201

deployment_idstring required

The deployment ID of the created agents, group and blocks, can be used to identify from a specific invokation

Changes

    • info

      added the optional property ///// to the response with the status

    • info

      added the optional property ///// to the response with the status

    • breaking

      added subschema #1 subschema #3 to the // response property oneOf list for the response status

    • info

      removed subschema #1 subschema #3 from the // response property oneOf list for the response status