The Feed
How Do You Know If Your Legacy System Has an Adequate API Layer?
Most teams don't realize their legacy system has an API problem until they're already committed to a major integration project. By then, you're months in and discovering that the system you thought could talk to other applications actually can't, not without significant engineering effort. This isn't a failure of planning. It's a structural reality of how older systems were built.
Legacy systems were designed when APIs weren't a survival requirement. They were monoliths built to solve a specific problem inside a specific organization. The assumption was that the software would stay internal, remain relatively static, and not need to communicate with external systems in real time. That assumption no longer holds.
Today, you need your legacy system to feed data into analytics platforms, sync with modern cloud tools, and eventually integrate with AI models. The question isn't whether you need an API. It's whether the one you have can actually deliver what you're asking of it.
The Hidden Cost of Inadequate APIs
An inadequate API layer doesn't necessarily mean there's no API at all. Many legacy systems have built APIs over the years, often as point solutions to immediate problems. One API extracts customer data in a specific format. Another handles order imports. A third exists for a single integration that's no longer even active. What you end up with is a collection of narrow pipes rather than a cohesive integration layer.
The structural problem is visibility and consistency. When an API wasn't part of the original architecture, every integration becomes a detective work project. You're digging through database schemas, understanding business logic that was never documented, and building connectors that work but don't follow any standard pattern. A team I worked with spent four months building what should have been a two-week integration because the "API" they were told existed was actually a custom script built by someone who left the company three years ago.
The second layer of cost is maintenance burden. Inadequate APIs force you to build workarounds. You might poll the database directly instead of querying an endpoint. You might use batch exports that run overnight instead of real-time data. You might build redundant logic in your integration layer to handle edge cases the system doesn't support. Each workaround adds technical debt that becomes someone's problem later. When adding AI to your existing software, these workarounds become exponentially more expensive because the AI system depends on consistent, predictable data flow.
Identifying API Inadequacy
There are specific signals that indicate your legacy system's API layer isn't up to what you're actually asking it to do. The first is inconsistency in what data you can actually access. Some queries return data in seconds. Others time out. Some fields are available through the API but not others, and nobody can quite explain why. You end up maintaining a mental map of which integrations work for which use cases rather than having a predictable interface.
The second signal is documentation that doesn't match reality. The API documentation says it supports filtering by date range, but the actual implementation only works with exact timestamps. It says it returns paginated results, but pagination breaks after a certain size. These aren't bugs exactly, they're more like the API was documented before it was fully built, and nobody updated the docs when reality diverged.
The third signal, and the most telling one, is latency unpredictability. An adequately designed API has consistent response patterns. A legacy API built without integration in mind often has hidden N+1 query problems or operations that work fine at small scale but collapse at production volume. You run 100 transactions in testing and it works fine. You run 100,000 and the whole system slows down.
What Adequate Actually Looks Like
An adequate API layer for legacy systems doesn't need to be modern or elegant. It needs to be predictable, documented, and extensible without architectural reengineering. Specifically, that means you can reliably fetch data in the format you need without triggering hidden dependencies. You can integrate new systems without discovering system limits you didn't know existed. And you can maintain the integration without constantly debugging why the API behaves differently in production than in staging.
The technical requirements are straightforward. You need consistent authentication across all endpoints. You need pagination that actually works at scale. You need error codes that tell you what went wrong instead of generic 500 errors. You need documentation that matches what the system actually does. You need response times that are predictable enough to build SLAs around.
More importantly, you need the API layer to be insulated from business logic changes. When the business logic in your legacy system changes (and it will), your integrations shouldn't break. That's the architectural difference between a system that was designed for integration and one that wasn't.
The Path Forward
If your legacy system doesn't have this, you're looking at either building a proper API layer or accepting the technical debt of fragile integrations. Building a proper layer costs time upfront but pays dividends every time you integrate something new. It's work that happens once instead of work that repeats every integration cycle.
The organizations that have handled this transition successfully treat the API layer as infrastructure, not a feature. They invest in it early, document it thoroughly, and use it as the single source of truth for how external systems talk to the legacy system. That approach costs more initially but radically reduces the cost of everything that comes after.
β€οΈ
π
π‘
π
π
Explore More Posts
Hello, Insight Jam Community. My name is Matt Fisher, and I'm the Chief Technology Officer at Efekta Education, an AI software company spun out of EF (Education First). I joined Efekta in July. At Efekta, Iβm proud to lead technology strategy and product innovation and lead our teams as we advance our AI-powered learning platform, used by over 5 million students and 250,000 teachers worldwide. My focus is on strengthening AI capabilities while keeping technology grounded in supporting teachers and driving positive outcomes for learners. Our Agentic Teaching Platform serves governments, school systems, universities, and publishers, supporting language and STEM education. We draw on EFβs data and pedagogical expertise to deliver adaptable, personalized learning to over 5 million students and 250,000 teachers worldwide. This makes Efekta the ideal place for me to do my best work. My career spans over 20 years of building products, platforms, and technical organizations, including leadership roles at Microsoft, Amazon, Auth0, Daydream, and Adventr. I also advise startups and remain closely connected to education as an adjunct faculty member in Brown Universityβs engineering department. I look forward to conversations in this community about AI in education, corporate learning, product development, innovation, and the responsible deployment of emerging technology. I look forward to learning, listening, and contributing. - Matt
AI in Education: Whatβs Actually Improving Learning? By: Kimberley Langen, Founder and CEO of Spirit of Math A student sits down with a difficult math problem, opens an AI chatbot, and has the correct answer within seconds, complete with steps that look reasonable and an explanation that reads clearly, so the homework gets finished and the technology appears to have made learning easier. Ask that same student to solve a similar problem with the chatbot closed, and you will likely see something very different. This is one of the biggest challenges I see in education as artificial intelligence becomes part of everyday classroom life. A chatbot can produce answers, explanations, practice questions, and feedback within seconds, and every one of those can help a student get an assignment finished. What a finished assignment shows is that a correct answer was produced somewhere, and the more important question for me is whether the student understood the material well enough to reach that answer alone. Schools investing in education technology are dealing with two separate outcomes, completing work and learning from it, and a tool that speeds up the first may do nothing for the second. Students and teachers are already using AI, so the useful question is a practical one. Which applications help students become stronger, more independent thinkers, and which ones simply produce finished work for them? The evidence, and what I have seen over more than 30 years of teaching, point to a clear answer. AI supports learning when it keeps the student doing the thinking. That principle applies to tutoring tools built on learning science and to classroom activities that treat AI output as something to examine. It also applies to evaluations that test what students can do on their own. Where AI Is Showing Genuine Promise I think AIβs most promising use is giving a student extra support at the moment they get stuck. In a traditional classroom, a teacher may be responsible for more than 20 students, each working at a different pace. While one student needs another explanation of fractions, another is ready for a harder application, so giving each of them individual attention at exactly the right moment is hard even for very experienced educators. Well-designed AI tutoring systems can help with part of that need by offering additional examples, answering questions, and guiding students through material outside regular classroom instruction, and there is encouraging evidence that this approach can work. A 2025 randomized controlled study published in Scientific Reports tested an AI-powered tutor in an undergraduate physics course at Harvard University. Students who used the carefully designed tutor learned significantly more in less time than students who received the same material in an active-learning classroom session, and they also reported greater engagement and motivation (Source: Scientific Reports, 2025). How that tutor was built made the difference. It followed established principles from education and learning science, so it asked questions, caught misunderstandings, and timed its support to what each student needed. Those are the habits of a tool designed to teach, and a chatbot that completes a studentβs work on request has none of them (Source: Scientific Reports, 2025). AI can also help teachers see patterns in how students are performing. When many students struggle with the same type of problem, digital assessments and analytics make that weak spot much easier to find, and teachers can then decide what needs another explanation or more practice. That information helps students once a teacher knows how to act on it, which is why a teacherβs judgment still matters so much. The Problem with Making Learning Too Easy The speed that makes AI so useful can also work against learning. Education has always involved productive difficulty, where students meet unfamiliar ideas, test possible solutions, make mistakes, and slowly build the ability to work through challenges, and AI can remove those obstacles within moments. Learning is hard, and at times it is uncomfortable, and children need to learn that it is supposed to feel that way. When a student tries a method on a multi-step algebra problem, watches it fail, and goes back to try again, that struggle is what builds the ability to solve the next problem. A chatbot that supplies the full solution after the first attempt takes away the part of the work that does the teaching. Research is starting to confirm this concern. The OECDβs Digital Education Outlook 2026 separates improvements in task performance from actual learning gains. Its review notes that students using general-purpose generative AI can produce higher-quality work without showing better understanding once the AI is removed, and in some studies the early advantage disappears or even reverses on independent assessments (Source: OECD, 2026). Mathematics shows this very clearly, because a correct answer can hide weak reasoning. Two students can reach the same result, one with a firm grasp of the underlying concept and the other by following a sequence of instructions without knowing why those steps work. An unfamiliar problem exposes the difference right away. A student who understands the concept can reconsider their assumptions and try another method when the numbers or the structure change, and a memorized procedure tends to break down at exactly that point. Why Explaining an Answer Still Matters The safeguard against bypassing the thinking is to make that thinking visible. Over more than 30 years in mathematics education, one principle has held up for me: students need opportunities to explain how they think. Classrooms built around that principle share some habits, whatever the program or curriculum. Students work through challenging problems, compare approaches, and explain their solutions to their teachers and classmates, so that each student understands why a method works and considers whether another approach is possible. This kind of learning feels uncomfortable at first. A student may find that a classmate solved the same problem with a completely different method, or may have to explain an assumption they never consciously examined, and those conversations are what build mathematical judgment. AI can support this work when its role is chosen with care. A student can ask an AI tool for two different solutions to one problem and judge whether both are valid. A teacher can present an AI-generated explanation that contains a subtle mistake and ask students to find it. Students can also compare their own reasoning with an AI response and explain which approach is more efficient. In each of these activities, the AI output becomes something to examine, and the student is still the one who decides whether it is correct. As educators, our job is to keep responsibility for the thinking with the student, so technology can supply the examples and feedback while the learner does the reasoning. Preparing Students for a World Where AI Can Do the Work These habits carry over into a world where AI handles more and more routine intellectual tasks. In that world, students will need to evaluate information, question assumptions, and solve problems that arrive with no obvious procedure, and those abilities only grow through practice. When a student learns to defend a mathematical argument, they are practising how to support a conclusion with evidence, which is a skill they will use in every reasoned argument they ever make. When a student discovers an error in a proposed solution, they develop the judgment to question information that looks credible at first glance, and that habit becomes more valuable as AI systems produce explanations that sound convincing even when they are wrong. When a student works through a difficult problem, they learn to keep going when the next step is uncertain. No tool can build that persistence for them, because it only comes from working through the uncertainty themselves. These experiences keep their value no matter how sophisticated AI becomes, and the strongest educational uses of AI will recognize that by creating new opportunities for practice while keeping the learner at the centre of the learning process. How Schools Should Measure Whether AI Works Recognizing those applications means measuring the right outcomes. Engagement figures, completion rates, and minutes saved tell educators whether students are using a product. When success is judged by the quality of completed assignments, it becomes very easy to mistake technological assistance for student ability. I believe a better evaluation starts with what students can do independently after using the technology. Suppose an AI tutoring system helps a student understand proportional reasoning. A week later, can that student apply the concept to an unfamiliar problem, explain the relationship in their own words, and recognize a proposed solution that makes no sense? Those answers reflect something far more durable than a successful interaction with software, and the OECDβs 2026 review also emphasizes the importance of distinguishing AI-assisted performance from lasting learning gains (Source: OECD, 2026). The design of the Harvard tutor points to a second set of questions, about how a tool shapes student behaviour over time. I would look at whether students attempt a problem before asking for help, and whether the hints they receive help them make progress without revealing the whole solution. A tool that also asks students to explain their thinking reinforces the same classroom habit I described earlier. Fit is a separate question, and teachers have a very practical role in judging it. An AI product can be technically sophisticated and still be a poor match for a particular age group, subject, or learning objective. A tool that supports an undergraduate physics student will not automatically suit an eight-year-old learning multiplication, since those learners differ in their needs, prior knowledge, and developmental stage. Schools need evidence about students like their own, along with educators who can interpret that evidence and decide how the technology fits into their instruction. What schools should be looking for are the situations where AI helps students develop knowledge and skills they can keep and apply, and how much AI gets used during the school day should follow from that. For me, the real test is what happens when the screen is closed. If the student from the opening example can now solve a similar problem without the chatbot, AI contributed to their learning. If they can only perform while the tool is open, the learning still has to happen. Research References: Kestin, G., et al. (2025). AI tutoring outperforms in-class active learning: An RCT introducing a novel research-based design in an authentic educational setting. Scientific Reports. https://doi.org/10.1038/s41598-025-97652-6 OECD (2026). OECD Digital Education Outlook 2026. https://www.oecd.org/en/publications/oecd-digital-education-outlook-2026_062a7394-en.html βββββββββββββββββββββββββββββββββββββββββ About the Author Kimberley Langen is the CEO and Co-Founder of Spirit of Math and is based in Toronto, Ontario, Canada. She launched the first Spirit of Math class with 35 students in 1995 and has helped grow the program across Canada and international communities. Her educational approach emphasizes reasoning, problem-solving, collaboration, and confidence.

Comments
Start the Conversation