The response can be large. Agents with many avatars, tools, and knowledge bases produce sizable responses. Cache aggressively on your side.
Attachments are returned as IDs. Attached tools, knowledge bases, and MCPs are returned as IDs: fetch the individual resources separately if you need their full configuration.
Not found returns 404. If the agent was deleted, the endpoint returns 404.
{"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.4006","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}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/endpoint/agentgetbyid","slug":"/api-reference/endpoint/agentgetbyid","pageMetadata":{"title":"Get Agent By Id","openapi":"GET /ext/agent/{id}","description":"Retrieve an Agent by ID","href":"/api-reference/endpoint/agentgetbyid"},"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: \"Retrieve an Agent by ID\"\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`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Heading}=_components;if(!Heading)_missingMdxReference(`Heading`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Fetch the complete configuration for a single agent by ID. Useful for auditing, debugging, cloning, or building admin UIs on top of TruGen.`}),`\n`,_jsx(Heading,{level:`2`,id:`when-to-use`,children:`When to use`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Debugging`}),`: confirm the live configuration matches what you think it is`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Cloning`}),`: read a working agent, tweak, and re-create as a new agent`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Admin dashboards`}),`: build an internal view of your organization’s agents`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Backup`}),`: snapshot configuration before making changes`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`what’s-returned`,children:`What’s returned`}),`\n`,_jsx(_components.p,{children:`The full agent object as it exists on the server, including:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Top-level fields (`,_jsx(_components.code,{children:`agent_name`}),`, `,_jsx(_components.code,{children:`agent_system_prompt`}),`, `,_jsx(_components.code,{children:`is_active`}),`, `,_jsx(_components.code,{children:`record`}),`, `,_jsx(_components.code,{children:`callback_url`}),`, etc.)`]}),`\n`,_jsx(_components.li,{children:`All configured avatars with STT, LLM, TTS, and turn-detection settings`}),`\n`,_jsx(_components.li,{children:`Attached knowledge bases (by ID)`}),`\n`,_jsx(_components.li,{children:`Attached tools and MCPs (by ID)`}),`\n`,_jsxs(_components.li,{children:[`Attached guardrails (full objects: `,_jsx(_components.code,{children:`key`}),`, `,_jsx(_components.code,{children:`category`}),`, `,_jsx(_components.code,{children:`prompt`}),`, `,_jsx(_components.code,{children:`response_message`}),`, `,_jsx(_components.code,{children:`callback_url`}),`)`]}),`\n`,_jsx(_components.li,{children:`Widget configuration`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`common-gotchas`,children:`Common gotchas`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`The response can be large.`}),` Agents with many avatars, tools, and knowledge bases produce sizable responses. Cache aggressively on your side.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Attachments are returned as IDs.`}),` Attached tools, knowledge bases, and MCPs are returned as IDs: fetch the individual resources separately if you need their full configuration.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Not found returns 404.`}),` If the agent was deleted, the endpoint returns 404.`]}),`\n`]}),`\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/agentget`,children:`List all agents`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/api-reference/endpoint/agentupdate`,children:`Update the agent`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/api-reference/endpoint/agentdelete`,children:`Delete the agent`})}),`\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":"Get Agent By Id","openapi":"GET /ext/agent/{id}","description":"Retrieve an Agent by ID","href":"/api-reference/endpoint/agentgetbyid"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"When to use","slug":"when-to-use","depth":2,"children":[]},{"title":"What’s returned","slug":"what’s-returned","depth":2,"children":[]},{"title":"Common gotchas","slug":"common-gotchas","depth":2,"children":[]},{"title":"Next steps","slug":"next-steps","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Retrieve an Agent by ID","description":"Retrieve an Agent by ID","operationId":"getAgentById","security":["a33de0ac-d30d-434a-9951-680efe689602"],"responses":{"200":"316bfe0d-c058-46c5-a815-6ddb07ff8a6e","401":"bd7286e0-f093-4ccd-8761-c060a80a9caa","404":"3e5566a2-8aa0-4902-9ef0-f12c00019ce4","500":"0f640346-0066-43b2-a7f9-642fdd58fd9d"},"method":"get","type":"path","servers":["7ceec31b-8564-430b-8d0f-9df45d47a6c8"],"path":"/ext/agent/{id}","baseUrlOptions":["https://api.trugen.ai/v1"],"title":"Retrieve an Agent by ID","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"1c2ec890-fa08-42a6-88b0-116525a5f43c":{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","isRequired":true,"description":"Unique identifier for the Agent","uniqueKey":"","typeLabel":"string\u003cuuid>"},"description":"Unique identifier for the Agent"}},"responses":{"316bfe0d-c058-46c5-a815-6ddb07ff8a6e":{"description":"Agent retrieved successfully","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Unique identifier for the agent.","example":"b63c2a53-266b-4b43-a71b-7ea8b5e2e916","uniqueKey":"id","typeLabel":"string\u003cuuid>"},"agent_name":{"type":"string","description":"Display name of the agent.","example":"Customer Support Agent","uniqueKey":"agent_name","typeLabel":"string"},"agent_system_prompt":{"type":"string","description":"Foundational system instruction used by this agent.","example":"You are a helpful AI assistant that handles customer service inquiries.","uniqueKey":"agent_system_prompt","typeLabel":"string"},"avatars":{"type":"array","description":"List of avatars associated with this agent.","items":{"type":"object","properties":{"avatar_key_id":{"type":"string","description":"Avatar identifier key.","example":"1e4ea106","uniqueKey":"avatars.items.[INDEX].avatar_key_id","typeLabel":"string"},"persona_name":{"type":"string","description":"Display name for the avatar persona.","example":"Sofia - Friendly Support","uniqueKey":"avatars.items.[INDEX].persona_name","typeLabel":"string"},"persona_prompt":{"type":"string","description":"Behavioral prompt for the avatar interaction style.","example":"Speak in a warm, engaging tone and provide clear answers.","uniqueKey":"avatars.items.[INDEX].persona_prompt","typeLabel":"string"},"config":{"type":"object","description":"Configuration for avatar behavior and runtime settings.","properties":{"llm":{"type":"object","description":"Large Language Model settings used by the avatar.","properties":{"model":{"type":"string","description":"Identifier of the LLM model.","example":"meta-llama/llama-4-maverick-17b-128e-instruct","uniqueKey":"avatars.items.[INDEX].config.llm.model","typeLabel":"string"},"provider":{"type":"string","description":"Provider used for LLM inference.","example":"groq","uniqueKey":"avatars.items.[INDEX].config.llm.provider","typeLabel":"string"}},"uniqueKey":"avatars.items.[INDEX].config.llm","typeLabel":"object"},"stt":{"type":"object","description":"Speech-to-Text model configuration.","properties":{"model":{"type":"string","description":"Speech recognition model identifier.","example":"flux-general-en","uniqueKey":"avatars.items.[INDEX].config.stt.model","typeLabel":"string"},"provider":{"type":"string","description":"STT provider service name.","example":"deepgram","uniqueKey":"avatars.items.[INDEX].config.stt.provider","typeLabel":"string"},"min_endpointing_delay":{"type":"number","description":"Minimum endpointing delay in seconds.","example":0.3,"uniqueKey":"avatars.items.[INDEX].config.stt.min_endpointing_delay","typeLabel":"number"},"max_endpointing_delay":{"type":"number","description":"Maximum endpointing delay in seconds.","example":0.4,"uniqueKey":"avatars.items.[INDEX].config.stt.max_endpointing_delay","typeLabel":"number"}},"uniqueKey":"avatars.items.[INDEX].config.stt","typeLabel":"object"},"tts":{"type":"object","description":"Text-to-Speech generation configuration.","properties":{"model_id":{"type":"string","description":"Voice synthesis model identifier.","example":"eleven_turbo_v2_5","uniqueKey":"avatars.items.[INDEX].config.tts.model_id","typeLabel":"string"},"provider":{"type":"string","description":"TTS provider service name.","example":"elevenlabs","uniqueKey":"avatars.items.[INDEX].config.tts.provider","typeLabel":"string"},"voice_id":{"type":"string","description":"Voice ID used to synthesize speech.","example":"ZUrEGyu8GFMwnHbvLhv2","uniqueKey":"avatars.items.[INDEX].config.tts.voice_id","typeLabel":"string"}},"uniqueKey":"avatars.items.[INDEX].config.tts","typeLabel":"object"}},"uniqueKey":"avatars.items.[INDEX].config","typeLabel":"object"}},"uniqueKey":"avatars.items.[INDEX]","typeLabel":"object"},"uniqueKey":"avatars","typeLabel":"object[]"},"callback_events":{"type":"array","description":"Webhook events that should trigger callbacks.","items":{"type":"string","example":"utterance_committed","uniqueKey":"callback_events.items.[INDEX]","typeLabel":"string"},"example":["participant_left","agent.started_speaking","agent.stopped_speaking","agent.interrupted","user.started_speaking","user.stopped_speaking","utterance_committed","max_call_duration_timeout"],"uniqueKey":"callback_events","typeLabel":"string[]"},"callback_url":{"type":"string","description":"Webhook endpoint URL to send callback events to.","example":"https://webhooks.example.com/agent-events","uniqueKey":"callback_url","typeLabel":"string"},"config":{"type":"object","description":"Agent-level configuration properties.","properties":{"systemPrompt":{"type":"string","description":"System prompt value stored within config.","example":"Always respond with a concise solution first, then provide optional detail.","uniqueKey":"config.systemPrompt","typeLabel":"string"},"maxCallDuration":{"type":"integer","description":"Maximum call duration allowed in seconds.","example":1800,"uniqueKey":"config.maxCallDuration","typeLabel":"integer"},"conversationalContext":{"type":"string","description":"Context label used to maintain continuity across sessions.","example":"customer-support","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"},"tool":{"oneOf":[{"type":"array","description":"List of tools attached to this agent.","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Tool identifier.","example":"ac79226e-73e1-41fe-8cde-469ae4e244fa","uniqueKey":"tool.oneOf.0.items.[INDEX].id","typeLabel":"string\u003cuuid>"},"name":{"type":"string","description":"Name of the tool.","example":"Product Support Articles","uniqueKey":"tool.oneOf.0.items.[INDEX].name","typeLabel":"string"},"description":{"type":"string","description":"Short summary of the tool's functionality.","example":"Tool for accessing employee directory.","uniqueKey":"tool.oneOf.0.items.[INDEX].description","typeLabel":"string"}},"uniqueKey":"tool.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"tool.oneOf.0","typeLabel":"object[]"},{"type":"null","description":"List of tools attached to this agent.","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Tool identifier.","example":"ac79226e-73e1-41fe-8cde-469ae4e244fa"},"name":{"type":"string","description":"Name of the tool.","example":"Product Support Articles"},"description":{"type":"string","description":"Short summary of the tool's functionality.","example":"Tool for accessing employee directory."}}},"uniqueKey":"tool.oneOf.1","typeLabel":"null"}],"uniqueKey":"tool","typeLabel":"object[] | null"},"guardrail":{"oneOf":[{"type":"array","description":"Guardrails attached to this agent, 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":"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":"guardrail.oneOf.0.items.[INDEX].key","typeLabel":"string"},"name":{"type":"string","description":"Name of the guardrail.","example":"Hate Speech Filter","uniqueKey":"guardrail.oneOf.0.items.[INDEX].name","typeLabel":"string"},"category":{"type":"string","description":"Free-text category tag.","example":"Content Safety","uniqueKey":"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":"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":"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":"guardrail.oneOf.0.items.[INDEX].callback_url","typeLabel":"string"}},"uniqueKey":"guardrail.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"guardrail.oneOf.0","typeLabel":"object[]"},{"type":"null","description":"Guardrails attached to this agent, 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":"guardrail.oneOf.1","typeLabel":"null"}],"uniqueKey":"guardrail","typeLabel":"object[] | null"},"mcp":{"oneOf":[{"type":"array","description":"List of MCP attached to this agent.","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"MCP identifier.","example":"ac79226e-73e1-41fe-8cde-469ae4e244fa","uniqueKey":"mcp.oneOf.0.items.[INDEX].id","typeLabel":"string\u003cuuid>"},"name":{"type":"string","description":"Name of the MCP.","example":"Product Support Articles","uniqueKey":"mcp.oneOf.0.items.[INDEX].name","typeLabel":"string"},"description":{"type":"string","description":"Short summary of the MCP's functionality.","example":"MCP for accessing employee directory.","uniqueKey":"mcp.oneOf.0.items.[INDEX].description","typeLabel":"string"}},"uniqueKey":"mcp.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"mcp.oneOf.0","typeLabel":"object[]"},{"type":"null","description":"List of MCP attached to this agent.","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"MCP identifier.","example":"ac79226e-73e1-41fe-8cde-469ae4e244fa"},"name":{"type":"string","description":"Name of the MCP.","example":"Product Support Articles"},"description":{"type":"string","description":"Short summary of the MCP's functionality.","example":"MCP for accessing employee directory."}}},"uniqueKey":"mcp.oneOf.1","typeLabel":"null"}],"uniqueKey":"mcp","typeLabel":"object[] | null"},"record":{"type":"boolean","description":"Determines whether voice call recordings should be stored.","example":true,"uniqueKey":"record","typeLabel":"boolean"},"created_at":{"type":"string","format":"date-time","description":"Timestamp indicating when the agent was created.","example":"2025-12-01T10:20:30.000Z","uniqueKey":"created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","description":"Last updated timestamp for the agent.","example":"2025-12-03T14:50:00.000Z","uniqueKey":"updated_at","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"id":"b63c2a53-266b-4b43-a71b-7ea8b5e2e916","agent_name":"Customer Support Agent","agent_system_prompt":"You are a helpful AI assistant that handles customer service inquiries.","avatars":[{"avatar_key_id":"1e4ea106","persona_name":"Sofia - Friendly Support","persona_prompt":"Speak in a warm, engaging tone and provide clear answers.","config":{"llm":{"model":"meta-llama/llama-4-maverick-17b-128e-instruct","provider":"groq"},"stt":{"model":"flux-general-en","provider":"deepgram","min_endpointing_delay":0.3,"max_endpointing_delay":0.4},"tts":{"model_id":"eleven_turbo_v2_5","provider":"elevenlabs","voice_id":"ZUrEGyu8GFMwnHbvLhv2"}}}],"callback_events":["participant_left","agent.started_speaking","agent.stopped_speaking","agent.interrupted","user.started_speaking","user.stopped_speaking","utterance_committed","max_call_duration_timeout"],"callback_url":"https://webhooks.example.com/agent-events","config":{"systemPrompt":"Always respond with a concise solution first, then provide optional detail.","maxCallDuration":1800,"conversationalContext":"customer-support"},"knowledge_base":[{"id":"ac79226e-73e1-41fe-8cde-469ae4e244fa","name":"Product Support Articles","description":"Contains FAQs and troubleshooting guides for product lines."}],"tool":[{"id":"ac79226e-73e1-41fe-8cde-469ae4e244fa","name":"Product Support Articles","description":"Tool for accessing employee directory."}],"guardrail":[{"id":"dfbaa3c6-1e90-43df-869a-b023896a198c","key":"hate_speech_filter","name":"Hate Speech Filter","category":"Content Safety","prompt":"Trigger when the user uses hateful, discriminatory, or abusive language toward a person or group.","response_message":"I'm sorry, but I can't help with that. Let's keep things respectful.","callback_url":"https://yourapp.com/webhooks/guardrail"}],"mcp":[{"id":"ac79226e-73e1-41fe-8cde-469ae4e244fa","name":"Product Support Articles","description":"MCP for accessing employee directory."}],"record":true,"created_at":"2025-12-01T10:20:30.000Z","updated_at":"2025-12-03T14:50:00.000Z"}}},"exampleType":"generated"}},"exampleType":"generated"},"bd7286e0-f093-4ccd-8761-c060a80a9caa":{"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"},"3e5566a2-8aa0-4902-9ef0-f12c00019ce4":{"description":"Agent not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","uniqueKey":"error","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"message":"Agent details not found"},"examples":{"Example":{"title":"Example","value":{"message":"Agent details not found"}}},"exampleType":"examples"}},"exampleType":"examples"},"0f640346-0066-43b2-a7f9-642fdd58fd9d":{"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 agent"},"examples":{"Example":{"title":"Example","value":{"error":"Failed to retrieve agent"}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"a33de0ac-d30d-434a-9951-680efe689602":{"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":"Get Agent By Id - TruGen AI Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-09T18:46:40.952Z","originalFileLocation":"api-reference/endpoint/agentgetbyid.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=\"Retrieve an Agent by ID\">\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=\"Get Agent By Id - TruGen AI Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Retrieve an Agent by ID\">\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/agentgetbyid\">\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=Video+Agents\u0026amp;title=Get+Agent+By+Id\u0026amp;description=Retrieve+an+Agent+by+ID\u0026amp;theme=5083c8f076597b42ef61764b\u0026amp;signature=558d22627e6958d3816f660f7925c442de530d2182009c79fcd1f101ada744f6\">\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=\"Get Agent By Id - TruGen AI Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Retrieve an Agent by ID\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://trugen.mintlify.app/_mintlify/api/og/v2?division=Video+Agents\u0026amp;title=Get+Agent+By+Id\u0026amp;description=Retrieve+an+Agent+by+ID\u0026amp;theme=5083c8f076597b42ef61764b\u0026amp;signature=558d22627e6958d3816f660f7925c442de530d2182009c79fcd1f101ada744f6\">\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/agentgetbyid\">\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/agentgetbyid.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/agentgetbyid#webpage\",\"url\":\"https://docs.trugen.ai/api-reference/endpoint/agentgetbyid\",\"name\":\"Get Agent By Id\",\"description\":\"Retrieve an Agent by ID\",\"dateModified\":\"2026-09-09T18:46:40.952Z\",\"isPartOf\":{\"@id\":\"https://docs.trugen.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.trugen.ai/api-reference/endpoint/agentgetbyid#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.trugen.ai/api-reference/endpoint/agentgetbyid#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Video Agents\",\"item\":\"https://docs.trugen.ai/api-reference/endpoint/agentcreate\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Get Agent By Id\",\"item\":\"https://docs.trugen.ai/api-reference/endpoint/agentgetbyid\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.trugen.ai/api-reference/endpoint/agentgetbyid#apireference\",\"headline\":\"Get Agent By Id\",\"name\":\"Get Agent By Id\",\"description\":\"Retrieve an Agent by ID\",\"url\":\"https://docs.trugen.ai/api-reference/endpoint/agentgetbyid\",\"mainEntityOfPage\":{\"@id\":\"https://docs.trugen.ai/api-reference/endpoint/agentgetbyid#webpage\"},\"dateModified\":\"2026-09-09T18:46:40.952Z\",\"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","description":"Fetches a list of all your agents, including associated avatars, knowledge bases, and callback settings.","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}","description":"Updates an Agent with new avatar, knowledge base, or system settings.","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","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}","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":"Get Agent By Id - TruGen AI Documentation","buildId":"dpl_2xiSHD9XEvLsPGPcfoMtkLTB3dy9","deploymentId":"dpl_2xiSHD9XEvLsPGPcfoMtkLTB3dy9","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DmVyH30O.js","utils-BHQqGGOd.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-CD-E4BIt.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-Bp5Lq9Ds.js","snippetPresets-C4xAVCFP.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-CgXVLxUC.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BF8I5oUf.js","shallow-Byd0lWnC.js","getApiPlaygroundDisplay-BGOZG1OK.js","CodeSnippet-CpvQL0CY.js","CodeSnippets-B8wkBKXa.js","Page-CBCH2P7b.js","getPastedJson-Ry3scI3Y.js","icon-D7a9HcdD.js","MethodPill-CJ8pmHhz.js","DuplicateIcon-rh1HJF0t.js","createIcon-DvGznqYs.js","DynamicMarkdown-Cc6AuSHS.js","SectionHeading-B4A0S-ep.js","axios-vUo_bRtp.js","Markdown-Cc16CX65.js","clsx-Cs6nMGht.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-zbf22OZA.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-C_fs-y5n.js"]}