Integrate REI Chat, manage Units, and call its conversational APIs.
Use the REI Chat API to integrate conversational responses into an application. It also exposes Unit management and tool configuration. Core maintains reasoning state, which it uses to produce structured results; a language model renders those results as responses.
{"docsConfig":{"theme":"maple","$schema":"https://mintlify.com/docs.json","name":"Rei - Docs","description":"Build with Adapt-1 and REI Chat. Structured learning and reasoning, retained state, and conversational interfaces.","colors":{"primary":"#785146","light":"#D2A599","dark":"#785146"},"logo":{"light":"https://mintcdn.com/reilabs/tgFS44V4r4LYTlR9/images/1000x1000Color.png?fit=max\u0026auto=format\u0026n=tgFS44V4r4LYTlR9\u0026q=85\u0026s=7723c1c369a3efeb9c179d2ef6b11863","dark":"https://mintcdn.com/reilabs/tgFS44V4r4LYTlR9/images/1000x1000Color.png?fit=max\u0026auto=format\u0026n=tgFS44V4r4LYTlR9\u0026q=85\u0026s=7723c1c369a3efeb9c179d2ef6b11863"},"favicon":{"light":"https://mintcdn.com/reilabs/tgFS44V4r4LYTlR9/images/1000x1000Color.png?fit=max\u0026auto=format\u0026n=tgFS44V4r4LYTlR9\u0026q=85\u0026s=7723c1c369a3efeb9c179d2ef6b11863","dark":"https://mintcdn.com/reilabs/tgFS44V4r4LYTlR9/images/1000x1000Color.png?fit=max\u0026auto=format\u0026n=tgFS44V4r4LYTlR9\u0026q=85\u0026s=7723c1c369a3efeb9c179d2ef6b11863"},"navbar":{"links":[{"href":"https://reilabs.org/","label":"Website"},{"href":"https://app.reilabs.org/adapt-1","label":"Adapt-1"},{"href":"https://app.reilabs.org/","label":"Rei Chat"}]},"footer":{"socials":{"twitter":"https://x.com/rei_labs","github":"https://github.com/0xReisearch","discord":"https://discord.com/invite/reilabs","telegram":"https://t.me/reiportal","website":"https://reilabs.org/"}},"fonts":{"family":"Inter"},"thumbnails":{"background":"https://mintcdn.com/reilabs/kBDVL5_xv8q8f1lX/images/Screenshot2026-09-19at7.13.28PM.png?fit=max\u0026auto=format\u0026n=kBDVL5_xv8q8f1lX\u0026q=85\u0026s=fb232b3818690a6fe274ed599f348acf"},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"reilabs","hasAudioNarration":false,"actualSubdomain":"reilabs","customDomains":["docs.reilabs.org"],"gitSource":{"type":"github","owner":"00unitrei","repo":"rei-mintlify-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6b030886429c2eb6eb1a434e","clientVersion":"0.0.4270","searchFilterCounts":[{"language":"default","tag":"Adapt-1 API","count":101},{"language":"default","tag":"API reference","count":49},{"language":"default","tag":"REI Chat API","count":16},{"language":"default","tag":"Guides","count":13},{"language":"default","tag":"Domains","count":12},{"language":"default","tag":"State","count":12},{"language":"default","tag":"Documentation","count":10},{"language":"default","tag":"Value API","count":9},{"language":"default","tag":"Probabilistic futures","count":8},{"language":"default","tag":"Machina","count":7}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":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":"custom-rbac-roles","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":"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":"site-roles","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":"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":"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":"editor-metadata","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},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"docs/api-and-sdk","slug":"/docs/api-and-sdk","pageMetadata":{"title":"REI Chat API and SDK","sidebarTitle":"Overview","description":"Integrate REI Chat, manage Units, and call its conversational APIs.","href":"/docs/api-and-sdk/index"},"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: \"Integrate REI Chat, manage Units, and call its conversational APIs.\"\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`,p:`p`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{Heading,Table}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Use the REI Chat API to integrate conversational responses into an application. It also exposes Unit management and tool configuration. Core maintains reasoning state, which it uses to produce structured results; a language model renders those results as responses.`}),`\n`,_jsx(Heading,{level:`2`,id:`choose-an-integration`,children:`Choose an integration`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Task`}),_jsx(_components.th,{children:`Guide`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Authenticate and make a request`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/docs/api-and-sdk/quickstart`,children:`Quickstart`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Use the JavaScript or Python package`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/docs/api-and-sdk/sdk`,children:`SDK`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Call Rei Chat from an existing agent`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/docs/api-and-sdk/integration-with-existing-agents`,children:`Integration with existing agents`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Call Rei Chat from an application service`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/docs/api-and-sdk/integration-with-existing-services`,children:`Integration with existing services`})})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`base-urls`,children:`Base URLs`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Base URL`}),_jsx(_components.th,{children:`Operations`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`https://rei-api.reilabs.org/v1`})}),_jsx(_components.td,{children:`Chat inference`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`https://api.reilabs.org/v1`})}),_jsx(_components.td,{children:`Unit and agent management`})]})]})]}),`\n`,_jsx(_components.p,{children:`Use the hostname shown in the endpoint reference.`})]})}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":"REI Chat API and SDK","sidebarTitle":"Overview","description":"Integrate REI Chat, manage Units, and call its conversational APIs.","href":"/docs/api-and-sdk/index"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Choose an integration","slug":"choose-an-integration","depth":2,"children":[]},{"title":"Base URLs","slug":"base-urls","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"reilabs","siteName":"Rei - Docs","title":"REI Chat API and SDK - Rei - Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-24T20:00:20.602Z","originalFileLocation":"docs/api-and-sdk/index.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=\"Integrate REI Chat, manage Units, and call its conversational APIs.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Rei - Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/reilabs/0LjVjOZNoWSGuarZ/_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/reilabs/0LjVjOZNoWSGuarZ/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/reilabs/0LjVjOZNoWSGuarZ/_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/reilabs/0LjVjOZNoWSGuarZ/_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/reilabs/0LjVjOZNoWSGuarZ/_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/reilabs/0LjVjOZNoWSGuarZ/_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/reilabs/0LjVjOZNoWSGuarZ/_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/reilabs/0LjVjOZNoWSGuarZ/_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/reilabs/0LjVjOZNoWSGuarZ/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"REI Chat API and SDK - Rei - Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Integrate REI Chat, manage Units, and call its conversational APIs.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Rei - Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.reilabs.org/docs/api-and-sdk\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://reilabs.mintlify.site/_mintlify/api/og/v2?division=Documentation\u0026amp;title=REI+Chat+API+and+SDK\u0026amp;description=Integrate+REI+Chat%2C+manage+Units%2C+and+call+its+conversational+APIs.\u0026amp;theme=1038cdf1b2dc2c0928fbd40e\u0026amp;signature=3dd250e10ddfbd77dd5e5f0486c3c3a789f667deef676e38ee230e78be2cd3c9\">\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=\"REI Chat API and SDK - Rei - Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Integrate REI Chat, manage Units, and call its conversational APIs.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://reilabs.mintlify.site/_mintlify/api/og/v2?division=Documentation\u0026amp;title=REI+Chat+API+and+SDK\u0026amp;description=Integrate+REI+Chat%2C+manage+Units%2C+and+call+its+conversational+APIs.\u0026amp;theme=1038cdf1b2dc2c0928fbd40e\u0026amp;signature=3dd250e10ddfbd77dd5e5f0486c3c3a789f667deef676e38ee230e78be2cd3c9\">\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/reilabs/0LjVjOZNoWSGuarZ/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Rei - Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#785146\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.reilabs.org/docs/api-and-sdk\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/api-and-sdk.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.reilabs.org/#organization\",\"name\":\"Rei - Docs\",\"url\":\"https://docs.reilabs.org\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/reilabs/tgFS44V4r4LYTlR9/images/1000x1000Color.png?fit=max\u0026auto=format\u0026n=tgFS44V4r4LYTlR9\u0026q=85\u0026s=7723c1c369a3efeb9c179d2ef6b11863\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.reilabs.org#website\",\"name\":\"Rei - Docs\",\"url\":\"https://docs.reilabs.org\",\"publisher\":{\"@id\":\"https://docs.reilabs.org/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.reilabs.org/docs/api-and-sdk#webpage\",\"url\":\"https://docs.reilabs.org/docs/api-and-sdk\",\"name\":\"REI Chat API and SDK\",\"description\":\"Integrate REI Chat, manage Units, and call its conversational APIs.\",\"dateModified\":\"2026-09-24T20:00:20.602Z\",\"isPartOf\":{\"@id\":\"https://docs.reilabs.org#website\"},\"breadcrumb\":{\"@id\":\"https://docs.reilabs.org/docs/api-and-sdk#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.reilabs.org/docs/api-and-sdk#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Rei - Docs\",\"item\":\"https://docs.reilabs.org\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"REI Chat API and SDK\",\"item\":\"https://docs.reilabs.org/docs/api-and-sdk\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.reilabs.org/docs/api-and-sdk#article\",\"headline\":\"REI Chat API and SDK\",\"name\":\"REI Chat API and SDK\",\"description\":\"Integrate REI Chat, manage Units, and call its conversational APIs.\",\"url\":\"https://docs.reilabs.org/docs/api-and-sdk\",\"mainEntityOfPage\":{\"@id\":\"https://docs.reilabs.org/docs/api-and-sdk#webpage\"},\"dateModified\":\"2026-09-24T20:00:20.602Z\",\"publisher\":{\"@id\":\"https://docs.reilabs.org/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.reilabs.org#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Rei - Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Rei - Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/api-and-sdk.md","siteName":"Rei - Docs","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/docs/welcome"}]},{"tab":"Adapt-1","hidden":true,"groups":[{"group":"Start here","pages":[]}]},{"tab":"Adapt-1 API","pages":[{"title":"Adapt-1 API","href":"/docs/neuroadapt/overview"}]},{"tab":"REI Chat API","groups":[{"group":"Start here","root":{"title":"REI Chat API and SDK","sidebarTitle":"Overview","href":"/docs/api-and-sdk"},"pages":[{"title":"Rei Chat quickstart","description":"Authenticate, choose the correct Rei Chat base URL, and make your first API call.","sidebarTitle":"Rei Chat quickstart","href":"/docs/api-and-sdk/quickstart"}]},{"group":"SDK and integrations","pages":[{"title":"SDK","href":"/docs/api-and-sdk/sdk"},{"title":"Integrate with existing agents","sidebarTitle":"Existing agents","href":"/docs/api-and-sdk/integration-with-existing-agents"},{"title":"Integrate with existing services","sidebarTitle":"Existing services","href":"/docs/api-and-sdk/integration-with-existing-services"},{"title":"Rei Unit API integration guide","sidebarTitle":"API integration","href":"/docs/guides/unit-api-guide"}]},{"group":"Chat inference","pages":[{"title":"Chat Completion","deprecated":null,"version":null,"openapi":"/openapi.json post /chat-completion","href":"/api-reference/chat/chat-completion"},{"title":"Create Response","deprecated":null,"version":null,"openapi":"/openapi.json post /response","href":"/api-reference/chat/create-response"}]},{"group":"Unit and agent management","pages":[{"title":"Agent Creation","deprecated":null,"version":null,"openapi":"/openapi.json post /accounts/units","href":"/api-reference/agent-management/agent-creation"},{"title":"Agent Update","deprecated":null,"version":null,"openapi":"/openapi.json put /accounts/units","href":"/api-reference/agent-management/agent-update"},{"title":"Agent Deletion","deprecated":null,"version":null,"openapi":"/openapi.json delete /accounts/units","href":"/api-reference/agent-management/agent-deletion"},{"title":"Agent Cloning","deprecated":null,"version":null,"openapi":"/openapi.json post /accounts/units/clone","href":"/api-reference/agent-management/agent-cloning"},{"title":"Get Reigent","deprecated":null,"version":null,"openapi":"/openapi.json get /agents","href":"/api-reference/agent/get-reigent"},{"title":"Get Reigent Unit's Tools","deprecated":null,"version":null,"openapi":"/openapi.json get /agents/tools","href":"/api-reference/agent/get-reigent-units-tools"},{"title":"Update Reigent Unit's Tools","deprecated":null,"version":null,"openapi":"/openapi.json put /agents/tools","href":"/api-reference/agent/update-reigent-units-tools"}]},{"group":"Optional Rei Chat compatibility","pages":[{"title":"Chat completions (OpenAI-compatible)","deprecated":null,"version":null,"openapi":"/neuroadapt-openapi.json post /v1/chat/completions","href":"/api-reference/chat/chat-completions-openai-compatible"}]}]},{"tab":"Lab \u0026 Resources","pages":[{"title":"Lab \u0026 Resources","href":"/docs/catalog"}]}]},"basePath":"","title":"REI Chat API and SDK - Rei - Docs","deploymentId":"dpl_DyXGnKeCjZyA3sUdfMJ7FjkdBefg","buildId":"dpl_DyXGnKeCjZyA3sUdfMJ7FjkdBefg","dynamics":[],"chunks":[]}