Securely stores authentication data for an agent. This endpoint encrypts sensitive credentials that the agent needs to access external services. The data is stored securely and can only be accessed using the returned auth token when running the agent.
This endpoint allows you to create a secure authentication profile for your agent. Think of it as setting up a secure vault of credentials that your agent can access when it needs to interact with external services. Instead of hardcoding API keys or passwords in your agent configuration, you can use this endpoint to store them securely.
When you run your agent using the /run_agent endpoint, you can include the auth token to give your agent access to its authentication profile. The system will automatically decrypt and provide the authentication data to your agent during execution.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Kura AI","colors":{"primary":"#6B46C1","light":"#E9D5FF","dark":"#4C1D95"},"logo":{"light":"https://mintcdn.com/kuraaiinc/th72dn9VxhWd2b4C/images/logo.png?fit=max\u0026auto=format\u0026n=th72dn9VxhWd2b4C\u0026q=85\u0026s=f899d09153419d83b3d287285e1290d9","dark":"https://mintcdn.com/kuraaiinc/th72dn9VxhWd2b4C/images/logo.png?fit=max\u0026auto=format\u0026n=th72dn9VxhWd2b4C\u0026q=85\u0026s=f899d09153419d83b3d287285e1290d9"},"favicon":"/favicon.png","navbar":{"links":[{"label":"Support","href":"mailto:support@trykura.com"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.trykura.com"}},"footer":{"socials":{"x":"https://x.com/KuraAIAgents","linkedin":"https://www.linkedin.com/company/kura-ai/"}},"navigation":{"global":{"anchors":[]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"kuraaiinc","hasAudioNarration":false,"actualSubdomain":"kuraaiinc","customDomains":["docs.trykura.com"],"gitSource":{"type":"github","owner":"darrenhwang1","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6a21a76732881c474e3234c9","collectionId":"ba1644ee-5aa2-4a29-914f-c8b45dee3f68","schemaVersion":"v2"},"entitlements":{},"buildId":"6ae9256055210c1811409530:success","clientVersion":"0.0.4054","searchFilterCounts":[{"language":"default","tag":"Documentation","count":17},{"language":"default","tag":"Workflow Blocks","count":7},{"language":"default","tag":"API Reference","count":6},{"language":"default","tag":"Endpoints","count":5},{"language":"default","tag":"Agent Data","count":4},{"language":"default","tag":"Get Started","count":2},{"language":"default","tag":"API Documentation","count":1},{"language":"default","tag":"Monitoring","count":1},{"language":"default","tag":"Productionizing","count":1},{"language":"default","tag":"Recursion","count":1}]},"assistantConfig":{},"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":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","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":"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":"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":"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":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","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":"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":"turbopuffer-dual-write","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},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/endpoint/create_agent_auth_profile","slug":"/api-reference/endpoint/create_agent_auth_profile","pageMetadata":{"title":"Create Agent Auth Profile","openapi":"POST /api/create_agent_auth_profile","description":"Securely stores authentication data for an agent. This endpoint encrypts sensitive credentials that the agent needs to access external services. The data is stored securely and can only be accessed using the returned auth token when running the agent.","href":"/api-reference/endpoint/create_agent_auth_profile"},"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: \"Securely stores authentication data for an agent. This endpoint encrypts sensitive credentials that the agent needs to access external services. The data is stored securely and can only be accessed using the returned auth token when running the agent.\"\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={code:`code`,li:`li`,ol:`ol`,p:`p`,ul:`ul`,..._provideComponents(),...props.components},{Heading}=_components;if(!Heading)_missingMdxReference(`Heading`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`overview`,children:`Overview`}),`\n`,_jsx(_components.p,{children:`This endpoint allows you to create a secure authentication profile for your agent. Think of it as setting up a secure vault of credentials that your agent can access when it needs to interact with external services. Instead of hardcoding API keys or passwords in your agent configuration, you can use this endpoint to store them securely.`}),`\n`,_jsx(Heading,{level:`2`,id:`how-it-works`,children:`How it works`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`You provide an authentication profile name, agent ID, API key, and a dictionary of authentication data (key-value pairs)`}),`\n`,_jsx(_components.li,{children:`The system validates that the keys in your auth data match the input arguments defined for your agent`}),`\n`,_jsx(_components.li,{children:`The system creates an encrypted authentication profile and stores it securely`}),`\n`,_jsx(_components.li,{children:`You receive an auth token that you can use when running your agent to access this profile`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`security-features`,children:`Security features`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Your authentication profile is encrypted before storage`}),`\n`,_jsx(_components.li,{children:`The encryption key is never stored - only you receive the auth token`}),`\n`,_jsx(_components.li,{children:`Each auth token is bound to a specific agent_id and cannot be used with different agents`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`using-the-auth-token`,children:`Using the auth token`}),`\n`,_jsxs(_components.p,{children:[`When you run your agent using the `,_jsx(_components.code,{children:`/run_agent`}),` endpoint, you can include the auth token to give your agent access to its authentication profile. The system will automatically decrypt and provide the authentication data to your agent during execution.`]}),`\n`,_jsx(Heading,{level:`2`,id:`important-notes`,children:`Important notes`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`The keys in your auth_data must be input arguments defined for your agent`}),`\n`,_jsx(_components.li,{children:`Store the returned auth_token securely - it cannot be recovered if lost`}),`\n`,_jsx(_components.li,{children:`Create different authentication profiles as needed for different credential sets or accounts`}),`\n`,_jsx(_components.li,{children:`Auth tokens can only be used with the specific agent_id they were generated for`}),`\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 Agent Auth Profile","openapi":"POST /api/create_agent_auth_profile","description":"Securely stores authentication data for an agent. This endpoint encrypts sensitive credentials that the agent needs to access external services. The data is stored securely and can only be accessed using the returned auth token when running the agent.","href":"/api-reference/endpoint/create_agent_auth_profile"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Overview","slug":"overview","depth":2,"children":[]},{"title":"How it works","slug":"how-it-works","depth":2,"children":[]},{"title":"Security features","slug":"security-features","depth":2,"children":[]},{"title":"Using the auth token","slug":"using-the-auth-token","depth":2,"children":[]},{"title":"Important notes","slug":"important-notes","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"description":"Securely stores authentication data for an agent. This endpoint encrypts sensitive credentials that the agent needs to access external services. The data is stored securely and can only be accessed using the returned auth token when running the agent.","requestBody":"0b66a7cf-a435-41d2-9868-e8f7e5f957a4","responses":{"200":"2bf67305-62bf-490d-bef5-a0bf4d946818","400":"ec646a34-b782-45df-8d84-ce0741fb47d3","401":"a6b2775f-1e70-4320-8ad2-7da7ae9a8cb8","500":"627240b6-477a-4086-ad93-cc60d2a8c7cc"},"method":"post","type":"path","servers":["e2ad9e1f-b6c2-4d5b-8694-eee68c31e1e0"],"security":[],"path":"/api/create_agent_auth_profile","baseUrlOptions":["https://backend.trykura.com"],"title":"","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name","agent_id","api_key","auth_data"],"properties":{"name":{"type":"string","description":"Name of the auth data entry, usually the name of the account or service","isRequired":true,"uniqueKey":"name","typeLabel":"string"},"agent_id":{"type":"string","description":"Unique identifier for the agent","isRequired":true,"uniqueKey":"agent_id","typeLabel":"string"},"api_key":{"type":"string","description":"API key for authentication","isRequired":true,"uniqueKey":"api_key","typeLabel":"string"},"auth_data":{"type":"object","description":"Key-value pairs of sensitive authentication data that will be encrypted. Keys must match the agent's defined input arguments.","additionalProperties":{"type":"string","uniqueKey":"auth_data.additionalProperties","typeLabel":"string"},"isRequired":true,"uniqueKey":"auth_data","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"name":"\u003cstring>","agent_id":"\u003cstring>","api_key":"\u003cstring>","auth_data":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"2bf67305-62bf-490d-bef5-a0bf4d946818":{"description":"Authentication data stored successfully","content":{"application/json":{"schema":{"type":"object","required":["auth_token"],"properties":{"auth_token":{"type":"string","description":"Secure token provided when running the agent to access stored authentication data","example":"YWJjZGVmZ2hpamtsbW5vcHFyc3R1dnd4eXoxMjM0NTY3ODkwYWJjZGVmZ2g=","isRequired":true,"uniqueKey":"auth_token","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"auth_token":"YWJjZGVmZ2hpamtsbW5vcHFyc3R1dnd4eXoxMjM0NTY3ODkwYWJjZGVmZ2g="}}},"exampleType":"generated"}},"exampleType":"generated"},"ec646a34-b782-45df-8d84-ce0741fb47d3":{"description":"Bad request - auth data doesn't match agent arguments","content":{"application/json":{"schema":{"required":["error","message"],"type":"object","properties":{"error":{"type":"integer","format":"int32","isRequired":true,"uniqueKey":"error","typeLabel":"integer\u003cint32>"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":123,"message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"a6b2775f-1e70-4320-8ad2-7da7ae9a8cb8":{"description":"Unauthorized - invalid API key","content":{"application/json":{"schema":{"required":["error","message"],"type":"object","properties":{"error":{"type":"integer","format":"int32","isRequired":true,"uniqueKey":"error","typeLabel":"integer\u003cint32>"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":123,"message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"627240b6-477a-4086-ad93-cc60d2a8c7cc":{"description":"Server error","content":{"application/json":{"schema":{"required":["error","message"],"type":"object","properties":{"error":{"type":"integer","format":"int32","isRequired":true,"uniqueKey":"error","typeLabel":"integer\u003cint32>"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":123,"message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{},"servers":{"e2ad9e1f-b6c2-4d5b-8694-eee68c31e1e0":{"url":"https://backend.trykura.com"}}},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"kuraaiinc","siteName":"Kura AI","title":"Create Agent Auth Profile - Kura AI","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-01-07T06:47:00.597Z","originalFileLocation":"api-reference/endpoint/create_agent_auth_profile.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=\"system\"}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=\"Securely stores authentication data for an agent. This endpoint encrypts sensitive credentials that the agent needs to access external services. The data is stored securely and can only be accessed using the returned auth token when running the agent.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Kura AI\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/kuraaiinc/fqWJzQyrdjGc7f-R/_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/kuraaiinc/fqWJzQyrdjGc7f-R/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/kuraaiinc/fqWJzQyrdjGc7f-R/_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/kuraaiinc/fqWJzQyrdjGc7f-R/_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/kuraaiinc/fqWJzQyrdjGc7f-R/_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/kuraaiinc/fqWJzQyrdjGc7f-R/_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/kuraaiinc/fqWJzQyrdjGc7f-R/_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/kuraaiinc/fqWJzQyrdjGc7f-R/_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/kuraaiinc/fqWJzQyrdjGc7f-R/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create Agent Auth Profile - Kura AI\">\u003cmeta data-mint-head property=\"og:description\" content=\"Securely stores authentication data for an agent. This endpoint encrypts sensitive credentials that the agent needs to access external services. The data is stored securely and can only be accessed using the returned auth token when running the agent.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Kura AI\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.trykura.com/api-reference/endpoint/create_agent_auth_profile\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://kuraaiinc.mintlify.app/_mintlify/api/og/v2?division=Documentation\u0026amp;title=Create+Agent+Auth+Profile\u0026amp;description=Securely+stores+authentication+data+for+an+agent.+This+endpoint+encrypts+sensitive+credentials+that+the+agent+needs+to+access+external+services.+The+data+is+sto\u0026amp;theme=3c786f7dab9832e11557f91c\u0026amp;signature=358555aba155797e7f6ade11830c1ec42adbcc0470959c5dc10bc5a69671b010\">\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 Agent Auth Profile - Kura AI\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Securely stores authentication data for an agent. This endpoint encrypts sensitive credentials that the agent needs to access external services. The data is stored securely and can only be accessed using the returned auth token when running the agent.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://kuraaiinc.mintlify.app/_mintlify/api/og/v2?division=Documentation\u0026amp;title=Create+Agent+Auth+Profile\u0026amp;description=Securely+stores+authentication+data+for+an+agent.+This+endpoint+encrypts+sensitive+credentials+that+the+agent+needs+to+access+external+services.+The+data+is+sto\u0026amp;theme=3c786f7dab9832e11557f91c\u0026amp;signature=358555aba155797e7f6ade11830c1ec42adbcc0470959c5dc10bc5a69671b010\">\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/kuraaiinc/fqWJzQyrdjGc7f-R/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Kura AI\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#6B46C1\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.trykura.com/api-reference/endpoint/create_agent_auth_profile\">\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/create_agent_auth_profile.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Kura AI\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Kura AI","nav":{"global":{"anchors":[]},"tabs":[{"tab":"Documentation","groups":[{"group":"Get Started","pages":[{"title":"Introduction","href":"/introduction"},{"title":"Getting Started","href":"/getting-started"}]},{"group":"Recursion","icon":"sparkles","pages":[{"title":"Recursion Agent","icon":"sparkles","href":"/recursion-agent/using-recursion-agent"}]},{"group":"Agent Data","pages":[{"title":"Agent Data Overview","icon":"database","href":"/agent-data/introduction"},{"title":"Inputs","icon":"arrow-right-to-bracket","href":"/agent-data/inputs"},{"title":"Variables","icon":"code-branch","href":"/agent-data/variables"},{"title":"Output","icon":"arrow-right-from-bracket","href":"/agent-data/output"}]},{"group":"Workflow Blocks","pages":[{"title":"Actions","icon":"play","href":"/workflow-blocks/action"},{"title":"Navigation","icon":"compass","href":"/workflow-blocks/navigation"},{"title":"Data Extraction","icon":"scissors","href":"/workflow-blocks/extraction"},{"title":"Checkpoints","icon":"flag-checkered","href":"/workflow-blocks/checkpoint"},{"title":"For Loops","icon":"rotate","href":"/workflow-blocks/for-loop"},{"title":"Conditionals","icon":"code-branch","href":"/workflow-blocks/conditional"},{"title":"Caching","href":"/workflow-blocks/caching"}]},{"group":"Iterating and Testing","pages":[{"title":"Testing and Debugging","href":"/testing"}]},{"group":"Productionizing","pages":[{"title":"Deployment","href":"/productionizing/deployment"}]},{"group":"Monitoring","pages":[{"title":"Observability","href":"/monitoring/observability"}]}]},{"tab":"API Reference","groups":[{"group":"API Documentation","pages":[{"title":"Introduction","href":"/api-reference/introduction"}]},{"group":"Endpoints","pages":[{"title":"Run Agent","openapi":"POST /run_agent","href":"/api-reference/endpoint/run_agent"},{"title":"Get Session","openapi":"GET /api/get_session/{session_id}","href":"/api-reference/endpoint/get"},{"title":"Get Session Status","openapi":"GET /api/get_session_status/{session_id}","href":"/api-reference/endpoint/get_session_status"},{"title":"Get Session Result","openapi":"GET /api/get_session_result/{session_id}","href":"/api-reference/endpoint/get_session_result"},{"title":"Upsert Agent Auth Profile","openapi":"POST /api/upsert_agent_auth_profile","href":"/api-reference/endpoint/upsert_agent_auth_profile"}]}]}]},"basePath":"","title":"Create Agent Auth Profile - Kura AI","buildId":"dpl_345ReqzYaAjzS9QpeJemsKdb7KDj","deploymentId":"dpl_345ReqzYaAjzS9QpeJemsKdb7KDj","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-C8RPHPxo.js","utils-0BK-9q6z.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DfjzsUJT.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-B4v9psJ4.js","snippetPresets-CpTQv-Ez.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-BNP-Fvr0.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BSgu6h1D.js","shallow-Biv1i9Gs.js","getApiPlaygroundDisplay-BoGOXhtF.js","CodeSnippet-DvQoT18_.js","CodeSnippets-Dnpa15xT.js","Page-Buji1S4J.js","getPastedJson-xAIyhUFE.js","icon-S6FBih11.js","MethodPill-SaYeUZyk.js","DuplicateIcon-Cs-p3v2Q.js","createIcon-DjCFEoHq.js","DynamicMarkdown-BcnBltEQ.js","SectionHeading-BUBl0eEF.js","axios-vUo_bRtp.js","Markdown-h4cOoD8d.js","clsx-B2v50t8t.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-DJnKvr0g.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-BHrrjR1K.js"]}