Bring REST and SOAP APIs you cannot modify onto NTL. How the legacy adapter maps endpoints to signals without touching the upstream service.
Design document, not shipped code.adapters/web2, adapters/web3 and
adapters/legacy each contain a single doc comment and no implementation.
Nothing on this page can be configured or run today.What does exist is the contract they will implement: the Adapter trait in
ntl-core (spec/adapter-contract) is real,
normative and tested. This page describes the intended behaviour on top of
it, and the configuration keys below are proposed rather than parsed — no
[adapter.*] table is read by any binary.Tracking: openNTL/ntl#14.
The Legacy API adapter wraps existing REST, SOAP, and custom API endpoints, exposing them as NTL signal handlers. This enables organizations to bring legacy systems into the NTL network without modifying the original codebase.
Use Case
Many organizations have critical systems that:
Cannot be modified (vendor software, regulatory constraints)
Use outdated protocols (SOAP, XML-RPC)
Have no plans to migrate to modern architectures
The Legacy adapter acts as a translation proxy — it presents these systems as NTL nodes, handling all protocol translation transparently.
The adapter continuously monitors legacy endpoints and adjusts its behavior:
Healthy — Normal signal processing
Degraded — Increased timeouts, reduced weight on responses
Unhealthy — Queues signals for retry, emits health warning signals
This prevents a failing legacy system from cascading failures through the NTL network.
Last modified on September 11, 2026
Was this page helpful?
{"docsConfig":{"theme":"aspen","$schema":"https://mintlify.com/docs.json","name":"Neural Transfer Layer","description":"NTL is an open source data transfer layer that replaces the request-response paradigm of traditional APIs with neural signal propagation. Built for the age of AI, Web3, and quantum computing.","colors":{"primary":"#8B4513","light":"#D4A574","dark":"#8B4513"},"logo":{"light":"https://mintcdn.com/nyuchiinstitute/3cEnyQmapw_aVprz/images/ntl-icon-light.png?fit=max\u0026auto=format\u0026n=3cEnyQmapw_aVprz\u0026q=85\u0026s=06b563d52807156423adddca61c507be","dark":"https://mintcdn.com/nyuchiinstitute/3cEnyQmapw_aVprz/images/ntl-icon-dark.png?fit=max\u0026auto=format\u0026n=3cEnyQmapw_aVprz\u0026q=85\u0026s=feb8717a4473fd413d1f7e21e399d361","href":"https://openntl.org"},"favicon":{"light":"https://mintcdn.com/nyuchiinstitute/L5Oo9PfB0A7RepWv/images/ntl-favicon-light.png?fit=max\u0026auto=format\u0026n=L5Oo9PfB0A7RepWv\u0026q=85\u0026s=2e6b3282a34139905ed56fa2390a0c6c","dark":"https://mintcdn.com/nyuchiinstitute/L5Oo9PfB0A7RepWv/images/ntl-favicon-dark.png?fit=max\u0026auto=format\u0026n=L5Oo9PfB0A7RepWv\u0026q=85\u0026s=e75938513a7e7e8022fbf15a95d21653"},"api":{"playground":{"display":"interactive"}},"appearance":{"default":"system"},"background":{"decoration":"grid","color":{"light":"#F3F2EE","dark":"#1B1A17"}},"navbar":{"links":[{"href":"https://github.com/openNTL/ntl","label":"GitHub"},{"href":"https://discord.gg/6R3wSv7HSY","label":"Discord","type":"discord"}],"primary":{"type":"button","label":"Get Started","href":"/guides/quickstart"}},"footer":{"socials":{"x":"https://x.com/nyuchiafrica","github":"https://github.com/openNTL","linkedin":"https://linkedin.com/company/nyuchi-africa"}},"seo":{"indexing":"all"},"fonts":{"heading":{"family":"Source Sans Pro","weight":500},"body":{"family":"Plus Jakarta Sans","weight":500}},"icons":{"library":"lucide"},"styling":{"eyebrows":"section","latex":true},"integrations":{"ga4":{"measurementId":"G-E4XLZ17VZS"}},"banner":{"content":"Maintained by The Bundu Foundation"},"thumbnails":{"appearance":"light"},"interaction":{"drilldown":true},"metadata":{"timestamp":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"nyuchiinstitute","hasAudioNarration":false,"actualSubdomain":"nyuchiinstitute","customDomains":["openntl.org"],"gitSource":{"type":"github","owner":"openntl","repo":"ntl","deployBranch":"main","contentDirectory":"docs","isPrivate":false,"mountPath":"","label":"","_id":"6b10e4429ffae5051c412a8c"},"feedback":{"thumbs":true,"agentFeedback":true},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6b1297cd92228a1efb5bf6b7","clientVersion":"0.0.4453","searchFilterCounts":[{"language":"default","tag":"Documentation","count":24},{"language":"default","tag":"Specification","count":22},{"language":"default","tag":"Research","count":16},{"language":"default","tag":"API Reference","count":10},{"language":"default","tag":"Core Concepts","count":5},{"language":"default","tag":"Guides","count":5},{"language":"default","tag":"Adapters","count":4},{"language":"default","tag":"Security","count":4},{"language":"default","tag":"Introduction","count":3},{"language":"default","tag":"Governance","count":3}]},"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":"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":"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":"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":"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":"turbopuffer-dual-write","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":"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":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"adapters/legacy-api","slug":"/adapters/legacy-api","pageMetadata":{"title":"Legacy API Adapter","description":"Bring REST and SOAP APIs you cannot modify onto NTL. How the legacy adapter maps endpoints to signals without touching the upstream service.","og:title":"Legacy API Adapter — NTL Adapters","og:description":"Wrap existing REST, SOAP, and custom API endpoints as NTL signal handlers without modifying the original codebase.","twitter:title":"NTL Legacy API Adapter","href":"/adapters/legacy-api"},"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: \"Bring REST and SOAP APIs you cannot modify onto NTL. How the legacy adapter maps endpoints to signals without touching the upstream service.\"\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`,em:`em`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(Warning,{children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Design document, not shipped code.`}),` `,_jsx(_components.code,{children:`adapters/web2`}),`, `,_jsx(_components.code,{children:`adapters/web3`}),` and\n`,_jsx(_components.code,{children:`adapters/legacy`}),` each contain a single doc comment and no implementation.\nNothing on this page can be configured or run today.`]}),_jsxs(_components.p,{children:[`What `,_jsx(_components.em,{children:`does`}),` exist is the contract they will implement: the `,_jsx(_components.code,{children:`Adapter`}),` trait in\n`,_jsx(_components.code,{children:`ntl-core`}),` (`,_jsx(_components.a,{href:`/spec/adapter-contract`,children:`spec/adapter-contract`}),`) is real,\nnormative and tested. This page describes the intended behaviour on top of\nit, and the configuration keys below are proposed rather than parsed — no\n`,_jsx(_components.code,{children:`[adapter.*]`}),` table is read by any binary.`]}),_jsxs(_components.p,{children:[`Tracking: `,_jsx(_components.a,{href:`https://github.com/openNTL/ntl/issues/14`,children:`openNTL/ntl#14`}),`.`]})]}),`\n`,_jsx(_components.p,{children:`The Legacy API adapter wraps existing REST, SOAP, and custom API endpoints, exposing them as NTL signal handlers. This enables organizations to bring legacy systems into the NTL network without modifying the original codebase.`}),`\n`,_jsx(Heading,{level:`2`,id:`use-case`,children:`Use Case`}),`\n`,_jsx(_components.p,{children:`Many organizations have critical systems that:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Cannot be modified (vendor software, regulatory constraints)`}),`\n`,_jsx(_components.li,{children:`Use outdated protocols (SOAP, XML-RPC)`}),`\n`,_jsx(_components.li,{children:`Have no plans to migrate to modern architectures`}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`The Legacy adapter acts as a `,_jsx(_components.strong,{children:`translation proxy`}),` — it presents these systems as NTL nodes, handling all protocol translation transparently.`]}),`\n`,_jsx(Heading,{level:`2`,id:`configuration`,children:`Configuration`}),`\n`,_jsx(_components.p,{children:`Legacy endpoints are configured declaratively:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`17`,language:`toml`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`toml`,children:_jsxs(_components.code,{language:`toml`,numberOfLines:`17`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[[`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#D4D4D4`},children:`adapter`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#D4D4D4`},children:`legacy`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#D4D4D4`},children:`endpoints`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]]`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`name`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"user-service\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`url`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://legacy.internal/api/v1/users\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`method`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"GET\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`signal_type`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"query\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`response_signal_type`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"data\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`auth`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` = { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`type`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"bearer\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`token_env`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"LEGACY_API_TOKEN\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`timeout_ms`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`10000`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`retry`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` = { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`max_attempts`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`3`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`backoff_ms`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1000`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[[`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#D4D4D4`},children:`adapter`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#D4D4D4`},children:`legacy`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#D4D4D4`},children:`endpoints`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]]`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`name`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"order-service\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`url`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://legacy.internal/soap/orders\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`method`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"POST\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`protocol`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"soap\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`signal_type`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"command\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`wsdl`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://legacy.internal/soap/orders?wsdl\"`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`signal-mapping`,children:`Signal Mapping`}),`\n`,_jsx(_components.p,{children:`The adapter maps signal fields to API request parameters:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`10`,language:`toml`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`toml`,children:_jsxs(_components.code,{language:`toml`,numberOfLines:`10`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[[`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#D4D4D4`},children:`adapter`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#D4D4D4`},children:`legacy`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#D4D4D4`},children:`endpoints`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]]`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`name`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"product-lookup\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`url`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://legacy.internal/api/products/{id}\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`method`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"GET\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`signal_type`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"query\"`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#D4D4D4`},children:`adapter`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#D4D4D4`},children:`legacy`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#D4D4D4`},children:`endpoints`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#D4D4D4`},children:`mapping`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`path_params`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` = { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`id`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"payload.product_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`query_params`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` = { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`include`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"payload.fields\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`headers`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` = { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`X-Request-ID`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"signal.id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`health-monitoring`,children:`Health Monitoring`}),`\n`,_jsx(_components.p,{children:`The adapter continuously monitors legacy endpoints and adjusts its behavior:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Healthy`}),` — Normal signal processing`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Degraded`}),` — Increased timeouts, reduced weight on responses`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Unhealthy`}),` — Queues signals for retry, emits health warning signals`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`This prevents a failing legacy system from cascading failures through the NTL network.`})]})}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":"Legacy API Adapter","description":"Bring REST and SOAP APIs you cannot modify onto NTL. How the legacy adapter maps endpoints to signals without touching the upstream service.","og:title":"Legacy API Adapter — NTL Adapters","og:description":"Wrap existing REST, SOAP, and custom API endpoints as NTL signal handlers without modifying the original codebase.","twitter:title":"NTL Legacy API Adapter","href":"/adapters/legacy-api"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Use Case","slug":"use-case","depth":2,"children":[]},{"title":"Configuration","slug":"configuration","depth":2,"children":[]},{"title":"Signal Mapping","slug":"signal-mapping","depth":2,"children":[]},{"title":"Health Monitoring","slug":"health-monitoring","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"nyuchiinstitute","siteName":"Neural Transfer Layer","title":"Legacy API Adapter — NTL Adapters","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-08-26T22:12:37.278Z","gitLastModified":"2026-09-11T18:46:10.000Z","originalFileLocation":"adapters/legacy-api.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=\"Bring REST and SOAP APIs you cannot modify onto NTL. How the legacy adapter maps endpoints to signals without touching the upstream service.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Neural Transfer Layer\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/nyuchiinstitute/rwY6TC31KCwl2Pxe/_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/nyuchiinstitute/rwY6TC31KCwl2Pxe/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/nyuchiinstitute/rwY6TC31KCwl2Pxe/_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/nyuchiinstitute/rwY6TC31KCwl2Pxe/_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/nyuchiinstitute/rwY6TC31KCwl2Pxe/_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/nyuchiinstitute/rwY6TC31KCwl2Pxe/_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/nyuchiinstitute/rwY6TC31KCwl2Pxe/_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/nyuchiinstitute/rwY6TC31KCwl2Pxe/_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/nyuchiinstitute/rwY6TC31KCwl2Pxe/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Legacy API Adapter — NTL Adapters\">\u003cmeta data-mint-head property=\"og:description\" content=\"Wrap existing REST, SOAP, and custom API endpoints as NTL signal handlers without modifying the original codebase.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Neural Transfer Layer\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://openntl.org/adapters/legacy-api\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://nyuchiinstitute.mintlify.site/_mintlify/api/og/v2?division=Adapters\u0026amp;title=Legacy+API+Adapter\u0026amp;description=Bring+REST+and+SOAP+APIs+you+cannot+modify+onto+NTL.+How+the+legacy+adapter+maps+endpoints+to+signals+without+touching+the+upstream+service.\u0026amp;theme=a543be1cf90de1b740b10d36\u0026amp;signature=481d0b4b382062909e1274d5921e9a09dfa6b86b8ebbe4ee84669dded6338025\">\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=\"NTL Legacy API Adapter\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Wrap existing REST, SOAP, and custom API endpoints as NTL signal handlers without modifying the original codebase.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://nyuchiinstitute.mintlify.site/_mintlify/api/og/v2?division=Adapters\u0026amp;title=Legacy+API+Adapter\u0026amp;description=Bring+REST+and+SOAP+APIs+you+cannot+modify+onto+NTL.+How+the+legacy+adapter+maps+endpoints+to+signals+without+touching+the+upstream+service.\u0026amp;theme=a543be1cf90de1b740b10d36\u0026amp;signature=481d0b4b382062909e1274d5921e9a09dfa6b86b8ebbe4ee84669dded6338025\">\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/nyuchiinstitute/rwY6TC31KCwl2Pxe/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Neural Transfer Layer\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#8B4513\">\u003clink data-mint-head rel=\"canonical\" href=\"https://openntl.org/adapters/legacy-api\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/adapters/legacy-api.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://openntl.org/#organization\",\"name\":\"Neural Transfer Layer\",\"url\":\"https://openntl.org\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/nyuchiinstitute/3cEnyQmapw_aVprz/images/ntl-icon-light.png?fit=max\u0026auto=format\u0026n=3cEnyQmapw_aVprz\u0026q=85\u0026s=06b563d52807156423adddca61c507be\"}},{\"@type\":\"WebSite\",\"@id\":\"https://openntl.org#website\",\"name\":\"Neural Transfer Layer\",\"url\":\"https://openntl.org\",\"publisher\":{\"@id\":\"https://openntl.org/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://openntl.org/adapters/legacy-api#webpage\",\"url\":\"https://openntl.org/adapters/legacy-api\",\"name\":\"Legacy API Adapter\",\"description\":\"Bring REST and SOAP APIs you cannot modify onto NTL. How the legacy adapter maps endpoints to signals without touching the upstream service.\",\"dateModified\":\"2026-09-11T18:46:10.000Z\",\"isPartOf\":{\"@id\":\"https://openntl.org#website\"},\"breadcrumb\":{\"@id\":\"https://openntl.org/adapters/legacy-api#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://openntl.org/adapters/legacy-api#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Adapters\",\"item\":\"https://openntl.org/adapters/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Legacy API Adapter\",\"item\":\"https://openntl.org/adapters/legacy-api\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://openntl.org/adapters/legacy-api#article\",\"headline\":\"Legacy API Adapter\",\"name\":\"Legacy API Adapter\",\"description\":\"Bring REST and SOAP APIs you cannot modify onto NTL. How the legacy adapter maps endpoints to signals without touching the upstream service.\",\"url\":\"https://openntl.org/adapters/legacy-api\",\"mainEntityOfPage\":{\"@id\":\"https://openntl.org/adapters/legacy-api#webpage\"},\"dateModified\":\"2026-09-11T18:46:10.000Z\",\"publisher\":{\"@id\":\"https://openntl.org/#organization\"},\"isPartOf\":{\"@id\":\"https://openntl.org#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Neural Transfer Layer\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Neural Transfer Layer\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/adapters/legacy-api.md","siteName":"Neural Transfer Layer","nav":{"global":null,"tabs":[{"tab":"Documentation","groups":[{"group":"Introduction","pages":[{"title":"Neural Transfer Layer","mode":"wide","href":"/introduction"},{"title":"Why NTL","mode":"wide","href":"/why-ntl"},{"title":"Architecture","mode":"wide","href":"/architecture"}]},{"group":"Core Concepts","pages":[{"title":"Signals","href":"/concepts/signals"},{"title":"Synapses","href":"/concepts/synapses"},{"title":"Activation","href":"/concepts/activation"},{"title":"Propagation","href":"/concepts/propagation"},{"title":"Topology","href":"/concepts/topology"}]},{"group":"Guides","pages":[{"title":"Quickstart","href":"/guides/quickstart"},{"title":"Your First Signal Handler","href":"/guides/first-signal"},{"title":"Building Adapters","href":"/guides/building-adapters"},{"title":"Storage Backends","href":"/guides/storage-backends"},{"title":"Postgres MCP Server","href":"/guides/postgres-mcp"}]},{"group":"Adapters","pages":[{"title":"Adapters Overview","mode":"wide","href":"/adapters/overview"},{"title":"Web2 Adapter","href":"/adapters/web2"},{"title":"Web3 Adapter","description":"Connect NTL to blockchain networks, decentralised identifiers and token systems, so on-chain events become signals and signals can settle on-chain.","href":"/adapters/web3"},{"title":"Legacy API Adapter","href":"/adapters/legacy-api"}]},{"group":"Security","pages":[{"title":"Security Overview","description":"openNTL's security model — pluggable cryptography, identity binding, signature verification, and the threat model for learned routing.","mode":"wide","href":"/security/overview"},{"title":"Pluggable Cryptography","href":"/security/pluggable-crypto"},{"title":"Post-Quantum Readiness","href":"/security/post-quantum"},{"title":"Identity","href":"/security/identity"}]},{"group":"Governance","pages":[{"title":"Contributing","href":"/governance/contributing"},{"title":"Roadmap","mode":"wide","href":"/governance/roadmap"},{"title":"RFC Process","href":"/governance/rfc-process"}]}]},{"tab":"Specification","pages":[{"title":"Specification","href":"/spec/overview"}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api-reference/overview"}]},{"tab":"Research","pages":[{"title":"Research","href":"/research/overview"}]}]},"basePath":"","title":"Legacy API Adapter — NTL Adapters","deploymentId":"dpl_BLZw3QngerHodH9E8mGgC4v752y3","buildId":"dpl_BLZw3QngerHodH9E8mGgC4v752y3","dynamics":[],"chunks":[]}