v45

latestOpenAPI 3.0.0raw.githubusercontent.com2026-08-0114775543.6 KB
Agent Templates

Create agent from template

We have created templates for some common use cases. You can use these templates to create an agent. For getting list of templates, you can use the /agent/template endpoint. It will give you the list of templates with their description and id. You can pass the id of the template in the request body to create an agent from the template.

post/agent/from-template

Request body

agentNamestring required

Name of the agent

agentDescriptionstring

Description of the agent

templateIdstring required

ID of the template to use. You can get the list of templates with their description and id from the /agent/template endpoint.

Response

Successful response

statusboolean
datastring

The ID of the created agent

Example response

{
  "status": true,
  "data": "60d0fe4f5311236168a109ca"
}