Create agents from a template (Cloud-only)

Creates an Agent or multiple Agents from a template

Path parameters

projectstringRequired
The project slug
template_versionstringRequired

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

Headers

AuthorizationstringRequired

Header authentication of the form Bearer <token>

Request

Body
tagslist of stringsOptional
The tags to assign to the agent
agent_namestringOptional
The name of the agent, optional otherwise a random one will be assigned
initial_message_sequencelist of objectsOptional
Set an initial sequence of messages, if not provided, the agent will start with the default message sequence, if an empty array is provided, the agent will start with no messages
memory_variablesmap from strings to stringsOptional
The memory variables to assign to the agent
tool_variablesmap from strings to stringsOptional
The tool variables to assign to the agent
identity_idslist of stringsOptional
The identity ids to assign to the agent

Response

201
agentslist of objects

Errors