[ { "config": { "maxCallDuration": 5, "conversationalContext": "The following is a conversation with a user named `Lisa`." }, "created_at": "2025-10-16T15:09:53.876051Z", "id": "d22e4b02-3a47-46f2-b0cd-5420f277eaf9", "knowledge_base": null, "guardrail": null, "record": true, "template_name": "HR Assistant", "template_system_prompt": "You are a helpful AI assistant.", "updated_at": "2025-10-16T15:09:53.876051Z" }]
{
"error": "Unauthorized: not a valid authorization api key"
}
{
"error": "Failed to create template details"
}
Persona Templates
List All Persona Templates
Fetches a list of all templates.
GET
/
ext
/
templates
Retrieve all Template details
curl --request GET \ --url https://api.trugen.ai/v1/ext/templates \ --header 'x-api-key: <api-key>'
[ { "config": { "maxCallDuration": 5, "conversationalContext": "The following is a conversation with a user named `Lisa`." }, "created_at": "2025-10-16T15:09:53.876051Z", "id": "d22e4b02-3a47-46f2-b0cd-5420f277eaf9", "knowledge_base": null, "guardrail": null, "record": true, "template_name": "HR Assistant", "template_system_prompt": "You are a helpful AI assistant.", "updated_at": "2025-10-16T15:09:53.876051Z" }]
{
"error": "Unauthorized: not a valid authorization api key"
}
{"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/templateget","slug":"/api-reference/endpoint/templateget","pageMetadata":{"title":"List All Persona Templates","openapi":"GET /ext/templates","description":"Fetches a list of all templates.","href":"/api-reference/endpoint/templateget"},"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: \"Fetches a list of all templates.\"\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}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"List All Persona Templates","openapi":"GET /ext/templates","description":"Fetches a list of all templates.","href":"/api-reference/endpoint/templateget"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Retrieve all Template details","description":"Fetches a list of all templates.","operationId":"getAllTemplates","security":["ad472263-dc18-4aca-abfe-2979415099a9"],"responses":{"200":"a373097c-316a-4bd2-86f4-e82782fe588f","401":"3b323b87-a7e0-4dde-860c-6f0c72eacb96","500":"cbd769eb-5d83-4b47-9370-36afb1907cba"},"method":"get","type":"path","servers":["7ceec31b-8564-430b-8d0f-9df45d47a6c8"],"path":"/ext/templates","baseUrlOptions":["https://api.trugen.ai/v1"],"title":"Retrieve all Template details","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"responses":{"a373097c-316a-4bd2-86f4-e82782fe588f":{"description":"List of template details retrieved successfully","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Unique identifier for the template","example":"ff152cd9-efb6-4367-ae34-917f7c735f1d","uniqueKey":"items.[INDEX].id","typeLabel":"string\u003cuuid>"},"template_name":{"type":"string","description":"Name of the template","example":"Default Calling Template","uniqueKey":"items.[INDEX].template_name","typeLabel":"string"},"template_system_prompt":{"type":"string","description":"System prompt text used by the template","example":"You are a helpful AI assistant.","uniqueKey":"items.[INDEX].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":900,"uniqueKey":"items.[INDEX].config.maxCallDuration","typeLabel":"integer"},"conversationalContext":{"type":"string","description":"Context for maintaining conversation across calls","example":"","uniqueKey":"items.[INDEX].config.conversationalContext","typeLabel":"string"}},"uniqueKey":"items.[INDEX].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":"items.[INDEX].knowledge_base.oneOf.0.items.[INDEX].id","typeLabel":"string\u003cuuid>"},"name":{"type":"string","description":"Name of the knowledge base.","example":"Product Support Articles","uniqueKey":"items.[INDEX].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":"items.[INDEX].knowledge_base.oneOf.0.items.[INDEX].description","typeLabel":"string"}},"uniqueKey":"items.[INDEX].knowledge_base.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"items.[INDEX].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":"items.[INDEX].knowledge_base.oneOf.1","typeLabel":"null"}],"uniqueKey":"items.[INDEX].knowledge_base","typeLabel":"object[] | null"},"guardrail":{"oneOf":[{"type":"array","description":"Guardrails attached to this template, returned in full (not by ID only).","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Guardrail identifier.","example":"dfbaa3c6-1e90-43df-869a-b023896a198c","uniqueKey":"items.[INDEX].guardrail.oneOf.0.items.[INDEX].id","typeLabel":"string\u003cuuid>"},"key":{"type":"string","description":"Permanent slug derived from name at creation time. Used as the tool identifier at runtime.","example":"hate_speech_filter","uniqueKey":"items.[INDEX].guardrail.oneOf.0.items.[INDEX].key","typeLabel":"string"},"name":{"type":"string","description":"Name of the guardrail.","example":"Hate Speech Filter","uniqueKey":"items.[INDEX].guardrail.oneOf.0.items.[INDEX].name","typeLabel":"string"},"category":{"type":"string","description":"Free-text category tag.","example":"Content Safety","uniqueKey":"items.[INDEX].guardrail.oneOf.0.items.[INDEX].category","typeLabel":"string"},"prompt":{"type":"string","description":"The rule text the agent's LLM evaluates against.","example":"Trigger when the user uses hateful, discriminatory, or abusive language toward a person or group.","uniqueKey":"items.[INDEX].guardrail.oneOf.0.items.[INDEX].prompt","typeLabel":"string"},"response_message":{"type":"string","description":"Canned response spoken when this guardrail fires. Empty string if unset.","example":"I'm sorry, but I can't help with that. Let's keep things respectful.","uniqueKey":"items.[INDEX].guardrail.oneOf.0.items.[INDEX].response_message","typeLabel":"string"},"callback_url":{"type":"string","description":"Webhook URL notified when this guardrail fires. Empty string if unset.","example":"https://yourapp.com/webhooks/guardrail","uniqueKey":"items.[INDEX].guardrail.oneOf.0.items.[INDEX].callback_url","typeLabel":"string"}},"uniqueKey":"items.[INDEX].guardrail.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"items.[INDEX].guardrail.oneOf.0","typeLabel":"object[]"},{"type":"null","description":"Guardrails attached to this template, returned in full (not by ID only).","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Guardrail identifier.","example":"dfbaa3c6-1e90-43df-869a-b023896a198c"},"key":{"type":"string","description":"Permanent slug derived from name at creation time. Used as the tool identifier at runtime.","example":"hate_speech_filter"},"name":{"type":"string","description":"Name of the guardrail.","example":"Hate Speech Filter"},"category":{"type":"string","description":"Free-text category tag.","example":"Content Safety"},"prompt":{"type":"string","description":"The rule text the agent's LLM evaluates against.","example":"Trigger when the user uses hateful, discriminatory, or abusive language toward a person or group."},"response_message":{"type":"string","description":"Canned response spoken when this guardrail fires. Empty string if unset.","example":"I'm sorry, but I can't help with that. Let's keep things respectful."},"callback_url":{"type":"string","description":"Webhook URL notified when this guardrail fires. Empty string if unset.","example":"https://yourapp.com/webhooks/guardrail"}}},"uniqueKey":"items.[INDEX].guardrail.oneOf.1","typeLabel":"null"}],"uniqueKey":"items.[INDEX].guardrail","typeLabel":"object[] | null"},"record":{"type":"boolean","description":"Whether the call should be recorded","example":true,"uniqueKey":"items.[INDEX].record","typeLabel":"boolean"},"is_active":{"type":"boolean","description":"Whether the record is be active or not","example":true,"uniqueKey":"items.[INDEX].is_active","typeLabel":"boolean"},"created_at":{"type":"string","format":"date-time","description":"Timestamp when the template was created","example":"2025-12-03T10:15:30.000Z","uniqueKey":"items.[INDEX].created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","description":"Timestamp when the template was last updated","example":"2025-12-03T12:00:00.000Z","uniqueKey":"items.[INDEX].updated_at","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"items.[INDEX]","typeLabel":"object"},"uniqueKey":"","typeLabel":"object[]"},"example":[{"config":{"maxCallDuration":5,"conversationalContext":"The following is a conversation with a user named `Lisa`."},"created_at":"2025-10-16T15:09:53.876051Z","id":"d22e4b02-3a47-46f2-b0cd-5420f277eaf9","knowledge_base":null,"guardrail":null,"record":true,"template_name":"HR Assistant","template_system_prompt":"You are a helpful AI assistant.","updated_at":"2025-10-16T15:09:53.876051Z"}],"examples":{"Example":{"title":"Example","value":[{"config":{"maxCallDuration":5,"conversationalContext":"The following is a conversation with a user named `Lisa`."},"created_at":"2025-10-16T15:09:53.876051Z","id":"d22e4b02-3a47-46f2-b0cd-5420f277eaf9","knowledge_base":null,"guardrail":null,"record":true,"template_name":"HR Assistant","template_system_prompt":"You are a helpful AI assistant.","updated_at":"2025-10-16T15:09:53.876051Z"}]}},"exampleType":"examples"}},"exampleType":"examples"},"3b323b87-a7e0-4dde-860c-6f0c72eacb96":{"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"},"cbd769eb-5d83-4b47-9370-36afb1907cba":{"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 create template details"},"examples":{"Example":{"title":"Example","value":{"error":"Failed to create template details"}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"ad472263-dc18-4aca-abfe-2979415099a9":{"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":"List All Persona Templates - TruGen AI Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-09T18:46:40.967Z","originalFileLocation":"api-reference/endpoint/templateget.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=\"Fetches a list of all templates.\">\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=\"List All Persona Templates - TruGen AI Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Fetches a list of all templates.\">\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/templateget\">\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=List+All+Persona+Templates\u0026amp;description=Fetches+a+list+of+all+templates.\u0026amp;theme=5083c8f076597b42ef61764b\u0026amp;signature=5f16c2faae96c71c01f7ee69b8edcb1a5b91460004f2ab0ef0ad328f6ae80ec5\">\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=\"List All Persona Templates - TruGen AI Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Fetches a list of all templates.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://trugen.mintlify.app/_mintlify/api/og/v2?division=Persona+Templates\u0026amp;title=List+All+Persona+Templates\u0026amp;description=Fetches+a+list+of+all+templates.\u0026amp;theme=5083c8f076597b42ef61764b\u0026amp;signature=5f16c2faae96c71c01f7ee69b8edcb1a5b91460004f2ab0ef0ad328f6ae80ec5\">\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/templateget\">\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/templateget.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/templateget#webpage\",\"url\":\"https://docs.trugen.ai/api-reference/endpoint/templateget\",\"name\":\"List All Persona Templates\",\"description\":\"Fetches a list of all templates.\",\"dateModified\":\"2026-09-09T18:46:40.967Z\",\"isPartOf\":{\"@id\":\"https://docs.trugen.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.trugen.ai/api-reference/endpoint/templateget#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.trugen.ai/api-reference/endpoint/templateget#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Persona Templates\",\"item\":\"https://docs.trugen.ai/api-reference/endpoint/templatecreate\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"List All Persona Templates\",\"item\":\"https://docs.trugen.ai/api-reference/endpoint/templateget\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.trugen.ai/api-reference/endpoint/templateget#apireference\",\"headline\":\"List All Persona Templates\",\"name\":\"List All Persona Templates\",\"description\":\"Fetches a list of all templates.\",\"url\":\"https://docs.trugen.ai/api-reference/endpoint/templateget\",\"mainEntityOfPage\":{\"@id\":\"https://docs.trugen.ai/api-reference/endpoint/templateget#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}","href":"/api-reference/endpoint/mcpdelete"}]},{"group":"Persona Templates","icon":"id-card","pages":[{"title":"Create Persona Template","openapi":"POST /ext/template","description":"Creates a new template.","href":"/api-reference/endpoint/templatecreate"},{"title":"List All Persona Templates","openapi":"GET /ext/templates","href":"/api-reference/endpoint/templateget"},{"title":"Get Persona Template By Id","openapi":"GET /ext/template/{id}","description":null,"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":"List All Persona Templates - 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"]}