{ "id": "d65a4f92-44b1-4fe6-b2ac-a1cb66366ddc", "message": "Template created successfully"}
{
"error": "Invalid request body"
}
{
"error": "Unauthorized: not a valid authorization api key"
}
{
"error": "Failed to retrieve template details"
}
Create a reusable template: the shared configuration that many agents can derive from. Use templates to enforce consistent behavior across a fleet of agents.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"TruGen AI Documentation","colors":{"primary":"#16A34A","light":"#07C983","dark":"#15803D"},"logo":{"light":"https://mintcdn.com/trugen/aGotQl6uoUUMddFi/logo/light-mode.svg?fit=max\u0026auto=format\u0026n=aGotQl6uoUUMddFi\u0026q=85\u0026s=7322cc9752ee17881cecf5f0fca30c7e","dark":"https://mintcdn.com/trugen/aGotQl6uoUUMddFi/logo/dark-mode.svg?fit=max\u0026auto=format\u0026n=aGotQl6uoUUMddFi\u0026q=85\u0026s=12cb3d218f90e70484af1ed1506068b8"},"favicon":"https://mintcdn.com/trugen/amqXezd4sybYFS6J/favicon.svg?fit=max\u0026auto=format\u0026n=amqXezd4sybYFS6J\u0026q=85\u0026s=3157d98708d6aa3b0be626e1f379402c","api":{"openapi":["api-reference/openapi.json"],"playground":{"display":"interactive"}},"appearance":{"default":"dark"},"navbar":{"links":[{"icon":"browser","href":"https://app.trugen.ai","label":"Platform"},{"icon":"discord","href":"https://discord.gg/4dqc8A66FJ","label":"Discord"},{"icon":"key","href":"https://app.trugen.ai","label":"API Key"},{"icon":"envelope","href":"mailto:support@trugen.ai","label":"Support"},{"icon":"robot","href":"https://docs.trugen.ai/llms.txt","label":"llms.txt"}],"primary":{"type":"button","label":"Playbook","href":"https://playbook.trugen.ai/"}},"footer":{"socials":{"linkedin":"https://linkedin.com/company/trugen-ai","discord":"https://discord.gg/4dqc8A66FJ"}},"seo":{"indexing":"navigable"},"contextual":{"options":["copy","chatgpt","claude"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"trugen","hasAudioNarration":false,"actualSubdomain":"trugen","customDomains":["docs.trugen.ai"],"gitSource":{"type":"github","owner":"trugenaiinc","repo":"documentation","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ac8f02276e980610e3b4bcf","collectionId":"9be974ec-516f-4e7b-acec-590fbd462e94","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ac8f02276e980610e3b4bcf"},"feedback":{"thumbs":true,"edits":true,"issues":true},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6ac8f02276e980610e3b4bcf","clientVersion":"0.0.3990","searchFilterCounts":[{"language":"default","tag":"API Reference","count":53},{"language":"default","tag":"Build","count":45},{"language":"default","tag":"AI Teammates (Avatars)","count":37},{"language":"default","tag":"SDKs","count":20},{"language":"default","tag":"Knowledge Base","count":11},{"language":"default","tag":"Examples","count":10},{"language":"default","tag":"JavaScript SDK","count":10},{"language":"default","tag":"Python SDK","count":10},{"language":"default","tag":"Guardrails","count":8},{"language":"default","tag":"Visual Presentations","count":8}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-v7-file-tree","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"per-site-search-delta","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-private-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-nav-generations","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"isAtlas":false,"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/endpoint/templatecreate","slug":"/api-reference/endpoint/templatecreate","pageMetadata":{"title":"Create Persona Template","openapi":"POST /ext/template","description":"Creates a new template.","href":"/api-reference/endpoint/templatecreate"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Creates a new template.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Create a reusable `,_jsx(_components.a,{href:`/docs/agents/templates`,children:`template`}),`: the shared configuration that many agents can derive from. Use templates to enforce consistent behavior across a fleet of agents.`]}),`\n`,_jsx(Heading,{level:`2`,id:`what-belongs-in-a-template`,children:`What belongs in a template`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`The shared system prompt`}),`\n`,_jsx(_components.li,{children:`Attached knowledge bases`}),`\n`,_jsx(_components.li,{children:`Attached guardrails`}),`\n`,_jsx(_components.li,{children:`LLM, STT, TTS configuration`}),`\n`,_jsx(_components.li,{children:`Default avatar (individual agents can override)`}),`\n`,_jsx(_components.li,{children:`Callback configuration`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`what-doesn’t`,children:`What doesn’t`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Per-user or per-agent identifiers (avatar assignments, meeting emails, agent names)`}),`\n`,_jsx(_components.li,{children:`Runtime session data`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`example`,children:`Example`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`21`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`21`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --url`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.trugen.ai/v1/ext/template`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Content-Type: application/json'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'x-api-key: YOUR_API_KEY'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"template_name\": \"Customer Support Template\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"template_system_prompt\": \"You are a friendly support agent. Answer in 1-2 sentences and always confirm before taking action.\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"config\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"timeout\": 300,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"conversationalContext\": \"support\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"knowledge_base\": [`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` { \"id\": \"kb_prod_docs\", \"name\": \"Product Docs\" },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` { \"id\": \"kb_faqs\", \"name\": \"FAQs\" }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"guardrail\": [`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` { \"id\": \"grd_hate_speech\", \"name\": \"Hate Speech Filter\" }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"is_active\": true,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"record\": true`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Response:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"tpl_abc123\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Template created successfully\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`using-the-template`,children:`Using the template`}),`\n`,_jsxs(_components.p,{children:[`Once created, spin up agents from it with `,_jsx(_components.a,{href:`/api-reference/endpoint/agentcreatebytemplate`,children:`Create Agent by Template`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`next-steps`,children:`Next steps`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/api-reference/endpoint/templateget`,children:`List templates`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/api-reference/endpoint/templateupdate`,children:`Update template`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/docs/agents/templates`,children:`Templates concept`})}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create Persona Template","openapi":"POST /ext/template","description":"Creates a new template.","href":"/api-reference/endpoint/templatecreate"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"What belongs in a template","slug":"what-belongs-in-a-template","depth":2,"children":[]},{"title":"What doesn’t","slug":"what-doesn’t","depth":2,"children":[]},{"title":"Example","slug":"example","depth":2,"children":[]},{"title":"Using the template","slug":"using-the-template","depth":2,"children":[]},{"title":"Next steps","slug":"next-steps","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Create a new Template","description":"Creates a new template.","operationId":"createTemplate","requestBody":"76be31c5-8705-417b-9936-e9699cf57ce0","responses":{"201":"77ee009e-5fb0-4341-92ac-f78b4f2e9bee","400":"fdf56173-ad74-4eca-a581-966a4aab44c3","401":"b968bd81-5c77-48e1-a089-474198c19537","500":"e3156214-7e04-4284-9181-18442395f0c9"},"security":["c25dcb2a-4003-44ca-b080-e96cf00f1c39"],"method":"post","type":"path","servers":["7ceec31b-8564-430b-8d0f-9df45d47a6c8"],"path":"/ext/template","baseUrlOptions":["https://api.trugen.ai/v1"],"title":"Create a new Template","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"template_name":{"type":"string","description":"Name of the template","example":"HR Assistant","uniqueKey":"template_name","typeLabel":"string"},"template_system_prompt":{"type":"string","description":"System prompt text used by the template","example":"You are a helpful HR AI Assistant.","uniqueKey":"template_system_prompt","typeLabel":"string"},"config":{"type":"object","description":"Settings and configuration for the template","properties":{"maxCallDuration":{"type":"integer","description":"Maximum allowed call duration in seconds","example":5,"uniqueKey":"config.maxCallDuration","typeLabel":"integer"},"conversationalContext":{"type":"string","description":"Context for maintaining conversation across calls","example":"","uniqueKey":"config.conversationalContext","typeLabel":"string"}},"uniqueKey":"config","typeLabel":"object"},"knowledge_base":{"oneOf":[{"type":"array","description":"List of knowledge bases attached to this agent.","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Knowledge base identifier.","example":"ac79226e-73e1-41fe-8cde-469ae4e244fa","uniqueKey":"knowledge_base.oneOf.0.items.[INDEX].id","typeLabel":"string\u003cuuid>"},"name":{"type":"string","description":"Name of the knowledge base.","example":"Product Support Articles","uniqueKey":"knowledge_base.oneOf.0.items.[INDEX].name","typeLabel":"string"},"description":{"type":"string","description":"Short summary of the knowledge base content.","example":"Contains FAQs and troubleshooting guides for product lines.","uniqueKey":"knowledge_base.oneOf.0.items.[INDEX].description","typeLabel":"string"}},"uniqueKey":"knowledge_base.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"knowledge_base.oneOf.0","typeLabel":"object[]"},{"type":"null","description":"List of knowledge bases attached to this agent.","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Knowledge base identifier.","example":"ac79226e-73e1-41fe-8cde-469ae4e244fa"},"name":{"type":"string","description":"Name of the knowledge base.","example":"Product Support Articles"},"description":{"type":"string","description":"Short summary of the knowledge base content.","example":"Contains FAQs and troubleshooting guides for product lines."}}},"uniqueKey":"knowledge_base.oneOf.1","typeLabel":"null"}],"uniqueKey":"knowledge_base","typeLabel":"object[] | null"},"guardrail":{"oneOf":[{"type":"array","description":"List of guardrails attached to this template.","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Guardrail identifier.","uniqueKey":"guardrail.oneOf.0.items.[INDEX].id","typeLabel":"string\u003cuuid>"},"name":{"type":"string","description":"Name of the guardrail.","uniqueKey":"guardrail.oneOf.0.items.[INDEX].name","typeLabel":"string"}},"uniqueKey":"guardrail.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"guardrail.oneOf.0","typeLabel":"object[]"},{"type":"null","description":"List of guardrails attached to this template.","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Guardrail identifier."},"name":{"type":"string","description":"Name of the guardrail."}}},"uniqueKey":"guardrail.oneOf.1","typeLabel":"null"}],"uniqueKey":"guardrail","typeLabel":"object[] | null"},"record":{"type":"boolean","description":"Whether the call should be recorded","example":true,"uniqueKey":"record","typeLabel":"boolean"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"template_name":"HR Assistant","template_system_prompt":"You are a helpful HR AI Assistant.","config":{"maxCallDuration":5,"conversationalContext":""},"knowledge_base":[{"id":"ac79226e-73e1-41fe-8cde-469ae4e244fa","name":"Product Support Articles","description":"Contains FAQs and troubleshooting guides for product lines."}],"guardrail":[{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","name":"\u003cstring>"}],"record":true}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"77ee009e-5fb0-4341-92ac-f78b4f2e9bee":{"description":"Template created successfully","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Unique ID of the newly created template.","example":"d65a4f92-44b1-4fe6-b2ac-a1cb66366ddc","uniqueKey":"id","typeLabel":"string\u003cuuid>"},"message":{"type":"string","example":"Template created successfully","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"id":"d65a4f92-44b1-4fe6-b2ac-a1cb66366ddc","message":"Template created successfully"}}},"exampleType":"generated"}},"exampleType":"generated"},"fdf56173-ad74-4eca-a581-966a4aab44c3":{"description":"Invalid request body","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","uniqueKey":"error","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":"Invalid request body"},"examples":{"Example":{"title":"Example","value":{"error":"Invalid request body"}}},"exampleType":"examples"}},"exampleType":"examples"},"b968bd81-5c77-48e1-a089-474198c19537":{"description":"Unauthorized – missing or invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","uniqueKey":"error","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":"Unauthorized: not a valid authorization api key"},"examples":{"Example":{"title":"Example","value":{"error":"Unauthorized: not a valid authorization api key"}}},"exampleType":"examples"}},"exampleType":"examples"},"e3156214-7e04-4284-9181-18442395f0c9":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","uniqueKey":"error","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":"Failed to retrieve template details"},"examples":{"Example":{"title":"Example","value":{"error":"Failed to retrieve template details"}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"c25dcb2a-4003-44ca-b080-e96cf00f1c39":{"apiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key","scopes":[],"schemeName":"apiKeyAuth"}}},"servers":{"7ceec31b-8564-430b-8d0f-9df45d47a6c8":{"url":"https://api.trugen.ai/v1"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"x-api-key","scopes":[],"schemeName":"apiKeyAuth"},"schema":{"title":"x-api-key","type":"string","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"apiKeyAuth","name":"x-api-key"}],"title":"apiKeyAuth"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"trugen","siteName":"TruGen AI Documentation","title":"Create Persona Template - TruGen AI Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-09T18:46:40.967Z","originalFileLocation":"api-reference/endpoint/templatecreate.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Creates a new template.\">\u003cmeta data-mint-head name=\"application-name\" content=\"TruGen AI Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/trugen/UtjSG3trmFVU6rog/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/trugen/UtjSG3trmFVU6rog/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/trugen/UtjSG3trmFVU6rog/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/trugen/UtjSG3trmFVU6rog/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/trugen/UtjSG3trmFVU6rog/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/trugen/UtjSG3trmFVU6rog/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/trugen/UtjSG3trmFVU6rog/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/trugen/UtjSG3trmFVU6rog/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/trugen/UtjSG3trmFVU6rog/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create Persona Template - TruGen AI Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Creates a new template.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"TruGen AI Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.trugen.ai/api-reference/endpoint/templatecreate\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://trugen.mintlify.app/_mintlify/api/og/v2?division=Persona+Templates\u0026amp;title=Create+Persona+Template\u0026amp;description=Creates+a+new+template.\u0026amp;theme=5083c8f076597b42ef61764b\u0026amp;signature=4901c5c00b1a3d13e6753a19dded305156469e64f86fceb5cd6020f1a4631b91\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Create Persona Template - TruGen AI Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Creates a new template.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://trugen.mintlify.app/_mintlify/api/og/v2?division=Persona+Templates\u0026amp;title=Create+Persona+Template\u0026amp;description=Creates+a+new+template.\u0026amp;theme=5083c8f076597b42ef61764b\u0026amp;signature=4901c5c00b1a3d13e6753a19dded305156469e64f86fceb5cd6020f1a4631b91\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/trugen/UtjSG3trmFVU6rog/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"TruGen AI Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#16A34A\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.trugen.ai/api-reference/endpoint/templatecreate\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/endpoint/templatecreate.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.trugen.ai/#organization\",\"name\":\"TruGen AI Documentation\",\"url\":\"https://docs.trugen.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/trugen/aGotQl6uoUUMddFi/logo/light-mode.svg?fit=max\u0026auto=format\u0026n=aGotQl6uoUUMddFi\u0026q=85\u0026s=7322cc9752ee17881cecf5f0fca30c7e\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.trugen.ai#website\",\"name\":\"TruGen AI Documentation\",\"url\":\"https://docs.trugen.ai\",\"publisher\":{\"@id\":\"https://docs.trugen.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.trugen.ai/api-reference/endpoint/templatecreate#webpage\",\"url\":\"https://docs.trugen.ai/api-reference/endpoint/templatecreate\",\"name\":\"Create Persona Template\",\"description\":\"Creates a new template.\",\"dateModified\":\"2026-09-09T18:46:40.967Z\",\"isPartOf\":{\"@id\":\"https://docs.trugen.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.trugen.ai/api-reference/endpoint/templatecreate#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.trugen.ai/api-reference/endpoint/templatecreate#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"TruGen AI Documentation\",\"item\":\"https://docs.trugen.ai\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create Persona Template\",\"item\":\"https://docs.trugen.ai/api-reference/endpoint/templatecreate\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.trugen.ai/api-reference/endpoint/templatecreate#apireference\",\"headline\":\"Create Persona Template\",\"name\":\"Create Persona Template\",\"description\":\"Creates a new template.\",\"url\":\"https://docs.trugen.ai/api-reference/endpoint/templatecreate\",\"mainEntityOfPage\":{\"@id\":\"https://docs.trugen.ai/api-reference/endpoint/templatecreate#webpage\"},\"dateModified\":\"2026-09-09T18:46:40.967Z\",\"publisher\":{\"@id\":\"https://docs.trugen.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.trugen.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"TruGen AI Documentation\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"TruGen AI Documentation","nav":{"global":null,"tabs":[{"tab":"Build","icon":"cube","pages":[{"title":"Build","href":"/docs/overview"}]},{"tab":"SDKs","icon":"code","pages":[{"title":"SDKs","href":"/docs/sdks/javascript/overview"}]},{"tab":"Embed","icon":"puzzle-piece","pages":[{"title":"Embed","href":"/docs/integrations/widget-integration"}]},{"tab":"Integrations","icon":"plug","menu":[{"item":"LiveKit","pages":[{"title":"LiveKit","href":"/docs/voice-to-video/livekit"}]},{"item":"n8n","pages":[{"title":"n8n","href":"/docs/integrations/n8n"}]},{"item":"Make","pages":[{"title":"Make","href":"/docs/integrations/make"}]},{"item":"TruGen Skill","pages":[{"title":"TruGen Skill","href":"/docs/ai-tools/skill"}]},{"item":"MCP Server","pages":[{"title":"MCP Server","href":"/docs/ai-tools/mcp"}]}],"pages":[{"title":"Integrations","href":"/docs/voice-to-video/livekit"}]},{"tab":"Examples","icon":"lightbulb","pages":[{"title":"Examples","href":"/docs/examples/ai-interviewer"}]},{"tab":"API Reference","icon":"server","groups":[{"group":"API Documentation","icon":"book","pages":[{"title":"API Overview","href":"/api-reference/overview"}]},{"group":"Video Agents","icon":"robot","pages":[{"title":"Create Agent","openapi":"POST /ext/agent","href":"/api-reference/endpoint/agentcreate"},{"title":"Create Agent By Template","openapi":"POST /ext/agentbytemplate","href":"/api-reference/endpoint/agentcreatebytemplate"},{"title":"List All Agents","openapi":"GET /ext/agent","href":"/api-reference/endpoint/agentget"},{"title":"Get Agent By Id","openapi":"GET /ext/agent/{id}","href":"/api-reference/endpoint/agentgetbyid"},{"title":"Update Agent","openapi":"PUT /ext/agent/{id}","href":"/api-reference/endpoint/agentupdate"},{"title":"Delete Agent","openapi":"DELETE /ext/agent/{id}","href":"/api-reference/endpoint/agentdelete"}]},{"group":"Avatars","icon":"user","pages":[{"title":"List All Avatars","openapi":"GET /ext/avatars","href":"/api-reference/endpoint/avatarget"},{"title":"Create Custom Avatar","openapi":"POST /v2/custom-avatar","href":"/api-reference/endpoint/customavatarcreate"},{"title":"Get Custom Avatar","openapi":"GET /v2/custom-avatar/{id}","href":"/api-reference/endpoint/customavatargetbyid"},{"title":"Delete Custom Avatar","openapi":"DELETE /v2/custom-avatar/{id}","href":"/api-reference/endpoint/customavatardelete"}]},{"group":"Vision","icon":"eye","pages":[{"title":"Start Vision Session","openapi":"POST /v2/vision","href":"/api-reference/endpoint/visionstart"},{"title":"Get Vision Session","openapi":"GET /v2/vision/{session_id}","href":"/api-reference/endpoint/visionstatus"}]},{"group":"Conversations","icon":"messages","pages":[{"title":"List All Conversations","openapi":"GET /ext/conversation","href":"/api-reference/endpoint/conversationget"},{"title":"Get Conversation By Id","openapi":"GET /ext/conversation/{id}","href":"/api-reference/endpoint/conversationgetbyid"},{"title":"Speak","openapi":"PUT /v1/conversation/{conversation_id}/speak","href":"/api-reference/endpoint/conversationspeak"},{"title":"Delete Conversation","openapi":"DELETE /v1/conversation/{conversation_id}","href":"/api-reference/endpoint/conversationdelete"}]},{"group":"Sessions","icon":"clock-rotate-left","pages":[{"title":"List All Sessions","openapi":"GET /ext/sessions","href":"/api-reference/endpoint/sessionget"}]},{"group":"External Meetings","icon":"users","pages":[{"title":"Join External Meeting","openapi":"POST /ext/externalmeeting","href":"/api-reference/endpoint/externalmeeting"}]},{"group":"Knowledge Base","icon":"database","pages":[{"title":"Create Knowledge Base","openapi":"POST /ext/kb","href":"/api-reference/endpoint/knowledgebasecreate"},{"title":"List All Knowledge Bases","openapi":"GET /ext/kbs","href":"/api-reference/endpoint/knowledgebaseget"},{"title":"Get Knowledge Base By Id","openapi":"GET /ext/kb/{id}","href":"/api-reference/endpoint/knowledgebasegetbyid"},{"title":"Update Knowledge Base","openapi":"PUT /ext/kb/{id}","href":"/api-reference/endpoint/knowledgebaseupdate"},{"title":"Delete Knowledge Base","openapi":"DELETE /ext/kb/{id}","href":"/api-reference/endpoint/knowledgebasedelete"},{"title":"Add Documents to Knowledge Base","openapi":"POST /ext/kb/{id}/doc","href":"/api-reference/endpoint/knowledgebaseadddoc"},{"title":"Delete Document from Knowledge Base","openapi":"DELETE /ext/kb/doc/{id}","href":"/api-reference/endpoint/knowledgebasedeletedoc"}]},{"group":"Visual Presentations","icon":"presentation-screen","pages":[{"title":"Upload Presentation","openapi":"POST /ext/presentation","href":"/api-reference/endpoint/presentationcreate"},{"title":"List All Presentations","openapi":"GET /ext/presentation","href":"/api-reference/endpoint/presentationget"},{"title":"Get Presentation","openapi":"GET /ext/presentation/{id}","href":"/api-reference/endpoint/presentationgetbyid"},{"title":"Update Presentation","openapi":"PATCH /ext/presentation/{id}","href":"/api-reference/endpoint/presentationupdate"},{"title":"Delete Presentation","openapi":"DELETE /ext/presentation/{id}","href":"/api-reference/endpoint/presentationdelete"}]},{"group":"MCPs","icon":"network-wired","pages":[{"title":"Create MCP","openapi":"POST /ext/mcp","href":"/api-reference/endpoint/mcpcreate"},{"title":"List All MCPs","openapi":"GET /ext/mcp","href":"/api-reference/endpoint/mcpget"},{"title":"Get MCP By Id","openapi":"GET /ext/mcp/{id}","href":"/api-reference/endpoint/mcpgetbyid"},{"title":"Update MCP","openapi":"PUT /ext/mcp/{id}","href":"/api-reference/endpoint/mcpupdate"},{"title":"Delete MCP","openapi":"DELETE /ext/mcp/{id}","description":"Deletes an MCP details by its ID. Requires `x-api-key` authentication.","href":"/api-reference/endpoint/mcpdelete"}]},{"group":"Persona Templates","icon":"id-card","pages":[{"title":"Create Persona Template","openapi":"POST /ext/template","href":"/api-reference/endpoint/templatecreate"},{"title":"List All Persona Templates","openapi":"GET /ext/templates","description":"Fetches a list of all templates.","href":"/api-reference/endpoint/templateget"},{"title":"Get Persona Template By Id","openapi":"GET /ext/template/{id}","href":"/api-reference/endpoint/templategetbyid"},{"title":"Update Persona Template","openapi":"PUT /ext/template/{id}","href":"/api-reference/endpoint/templateupdate"},{"title":"Delete Persona Template","openapi":"DELETE /ext/template/{id}","href":"/api-reference/endpoint/templatedelete"}]},{"group":"Providers","icon":"cloud","pages":[{"title":"List All Providers","openapi":"GET /ext/providers","href":"/api-reference/endpoint/providerget"}]},{"group":"Tools","icon":"screwdriver-wrench","pages":[{"title":"Create Tool","openapi":"POST /ext/tool","href":"/api-reference/endpoint/toolcreate"},{"title":"List All Tools","openapi":"GET /ext/tool","href":"/api-reference/endpoint/toolget"},{"title":"Get Tool By Id","openapi":"GET /ext/tool/{id}","href":"/api-reference/endpoint/toolgetbyid"},{"title":"Update Tool","openapi":"PUT /ext/tool/{id}","href":"/api-reference/endpoint/toolupdate"},{"title":"Delete Tool","openapi":"DELETE /ext/tool/{id}","href":"/api-reference/endpoint/tooldelete"}]},{"group":"Guardrails","icon":"shield-halved","pages":[{"title":"Create Guardrail","openapi":"POST /ext/guardrail","href":"/api-reference/endpoint/guardrailcreate"},{"title":"List All Guardrails","openapi":"GET /ext/guardrail","href":"/api-reference/endpoint/guardrailget"},{"title":"Update Guardrail","openapi":"PUT /ext/guardrail/{id}","href":"/api-reference/endpoint/guardrailupdate"},{"title":"Delete Guardrail","openapi":"DELETE /ext/guardrail/{id}","href":"/api-reference/endpoint/guardraildelete"}]},{"group":"Text to Video Generation","icon":"video","pages":[{"title":"Text To Video Generator","openapi":"POST /script-to-video/createVideo","href":"/api-reference/endpoint/texttovideo"},{"title":"Get Generation Status","openapi":"GET /script-to-video/genStatus/{generation_id}","href":"/api-reference/endpoint/texttovideostatus"}]}]},{"tab":"Changelog","icon":"clock-rotate-left","pages":[{"title":"Changelog","href":"/docs/changelog"}]}]},"title":"Create Persona Template - TruGen AI Documentation","buildId":"dpl_2oYXwqkEXirXBPk8wV1FtM5USFWi","deploymentId":"dpl_2oYXwqkEXirXBPk8wV1FtM5USFWi","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-WRhTSUDL.js","utils-ChMov4Kr.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-_REmC2bI.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-Bp6nVRCu.js","snippetPresets-DZadmXoU.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-CY2WdoTl.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-DwYG-Q4l.js","shallow-BXQIGwv4.js","getApiPlaygroundDisplay-CK5nK5B9.js","CodeSnippet-TH4a2aGW.js","CodeSnippets-DwsQiOFS.js","Page-R3M_BF4L.js","getPastedJson-DD7kUzi_.js","icon-holE3QoJ.js","MethodPill-DUW0T8us.js","DuplicateIcon-CI_p4be-.js","createIcon-BdbRvavb.js","DynamicMarkdown-DN96a4Ur.js","SectionHeading-SCu36A9d.js","axios-vUo_bRtp.js","Markdown-CCeGv-zI.js","clsx-BGBGWFTt.js","lib--scc4DXi.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-Cv_O2fky.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-2C5OB2eV.js"]}