cURL
curl --request POST \ --url https://api.trugen.ai/v1/ext/agentbytemplate \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data ' { "avatar_ids": [ "1e4ea106", "665a1170" ], "template_id": "76d9ff1d-b1d5-4dee-9b9a-d4c4d58c9c55" } '
{ "id": "51ed8d70-9379-422f-aed4-f9f2b293ba4a", "message": "Agent created successfully" }
Documentation IndexFetch the complete documentation index at: https://docs.trugen.ai/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.trugen.ai/llms.txt
Use this file to discover all available pages before exploring further.
List of avatar IDs to associate with the new agent
ID of the template to use for creating the agent
Agent created successfully
ID of the newly created agent
Confirmation message