{"id":5236,"date":"2026-01-15T21:42:15","date_gmt":"2026-01-15T21:42:15","guid":{"rendered":"https:\/\/altruist.com\/?p=5236"},"modified":"2026-02-13T17:14:27","modified_gmt":"2026-02-13T17:14:27","slug":"api-automation-using-ai-agents","status":"publish","type":"post","link":"https:\/\/altruist.com\/engineering-blog\/api-automation-using-ai-agents\/","title":{"rendered":"API automation using AI agents"},"content":{"rendered":"<p class=\"wp-block-paragraph has-paragraph-1-font-size\" style=\"\">AI agents have transformed how we approach software quality and testing. We came up with a list of use cases where we leveraged this technology to improve the software quality and speed.<\/p>\n\n\n<p class=\"wp-block-paragraph has-paragraph-1-font-size\" style=\"\">And we chose a low-hanging, business-critical use case of automating APIs. The objective is to create as many API automated tests as possible and add them to our regression suite.&nbsp;<\/p>\n\n\n<p class=\"wp-block-paragraph has-paragraph-1-font-size\" style=\"\">We started with an ambitious goal: to automate over 85% of our API test cases with 90% accuracy.&nbsp;<\/p>\n\n\n<p class=\"wp-block-paragraph has-paragraph-1-font-size\" style=\"margin-bottom:var(--wp--preset--spacing--1200)\">We recognized that AI represents a fundamental shift in how we approach quality engineering, enabling us to scale our testing efforts exponentially while maintaining cost efficiency. The API Automation Agent (api-agent) emerged from this initiative.<\/p>\n\n\n<div style=\"height:2px\" aria-hidden=\"true\" class=\"wp-block-spacer has-black-background-color has-background\"><\/div>\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-b807834a wp-block-columns-is-layout-flex is-stacked-on-mobile\" style=\"border-radius:0px;border-bottom-color:#000000;border-bottom-width:2px;padding-bottom:var(--wp--preset--spacing--2400);margin:var(--wp--preset--spacing--800) 0;--columns:2\" data-columns=\"2\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:33.33%\">\n<h5 class=\"wp-block-heading\" id=\"api-testing\">API testing<\/h5>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:66.66%\">\n<p class=\"wp-block-paragraph has-paragraph-1-font-size\" style=\"\">Modern software development demands rigorous API testing at multiple levels. Integration testing validates that different system components work together correctly, ensuring APIs interact seamlessly with databases, external services, and internal microservices.&nbsp;<\/p>\n\n\n<p class=\"wp-block-paragraph has-paragraph-1-font-size\" style=\"\">Release regression testing verifies that new code changes haven&#8217;t broken existing functionality and contracts, a critical concern as systems grow in complexity.&nbsp;<\/p>\n\n\n<p class=\"wp-block-paragraph has-paragraph-1-font-size\" style=\"\">Traditional approaches to API testing face significant challenges:&nbsp;<\/p>\n\n\n<ul class=\"wp-block-list wp-block-list\">\n<li>Manual test creation is time-consuming and requires deep technical knowledge of API contracts, request\/response structures, and test frameworks.<\/li>\n\n\n\n<li>Test maintenance becomes increasingly difficult as APIs evolve, requiring constant updates to keep pace with schema changes.&nbsp;<\/li>\n\n\n\n<li>Coverage gaps emerge as teams struggle to write comprehensive test suites for every endpoint and scenario.<\/li>\n\n\n\n<li>Regression testing demands significant effort to execute hundreds or thousands of test cases before each release.<\/li>\n<\/ul>\n\n\n<p class=\"wp-block-paragraph has-paragraph-1-font-size\" style=\"\">Our API automation strategy needed to address these challenges while scaling with our growing platform. We needed an approach that could generate tests rapidly, adapt to API changes automatically, and provide comprehensive coverage across integration and regression scenarios.<\/p>\n<\/div>\n<\/div>\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-b807834a wp-block-columns-is-layout-flex is-stacked-on-mobile\" style=\"border-radius:0px;border-bottom-color:#000000;border-bottom-width:2px;padding-bottom:var(--wp--preset--spacing--2400);margin:var(--wp--preset--spacing--800) 0;--columns:2\" data-columns=\"2\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:33.33%\">\n<h5 class=\"wp-block-heading\" id=\"introducingapi-agent\">Introducing<br>API Agent<\/h5>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:66.66%\">\n<p class=\"wp-block-paragraph has-paragraph-1-font-size\" style=\"\">The API Agent is an AI-driven workflow that automates the entire lifecycle of API test creation and maintenance. Rather than requiring engineers to manually write test code, the agent takes natural language test specifications from TestRail and autonomously generates executable test code that follows our established testing frameworks and coding conventions.&nbsp;<\/p>\n\n\n<p class=\"wp-block-paragraph has-paragraph-1-font-size\" style=\"\">What sets API Agent apart from traditional code generation tools is its end-to-end automation. The agent doesn&#8217;t just generate test code, it:&nbsp;<\/p>\n\n\n<ul class=\"wp-block-list wp-block-list\">\n<li>Accepts the test case written in natural language with detailed steps.<\/li>\n\n\n\n<li>Validates test requirements and identifies ambiguities before code generation.<\/li>\n\n\n\n<li>Automatically creates supporting code artifacts, including request\/response models, service methods, and database validation queries.<\/li>\n\n\n\n<li>Integrates with GitLab to create merge requests with all generated code.<\/li>\n\n\n\n<li>Provides observability through Postgres tracking and Slack notifications.<\/li>\n<\/ul>\n\n\n<p class=\"wp-block-paragraph has-paragraph-1-font-size\" style=\"\">The agent processes test specifications that include test steps, expected results, and test data. It intelligently determines what code needs to be created or modified, inspects live API responses to understand data structures, and generates production-ready test code that integrates seamlessly into our existing test suites.<\/p>\n<\/div>\n<\/div>\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-b807834a wp-block-columns-is-layout-flex is-stacked-on-mobile\" style=\"border-radius:0px;border-bottom-color:#000000;border-bottom-width:2px;padding-bottom:var(--wp--preset--spacing--2400);margin:var(--wp--preset--spacing--800) 0;--columns:2\" data-columns=\"2\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:33.33%\">\n<h5 class=\"wp-block-heading\" id=\"high-level-architecture-and-design\">High-level architecture and design<\/h5>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:66.66%\">\n<p class=\"wp-block-paragraph has-paragraph-1-font-size\" style=\"\">From the project&#8217;s inception, we&#8217;ve treated agent performance evaluation as a first-class concern. Our guiding principle is that the API Agent should consistently perform at or above the level of our manual test creation process. To evaluate its performance, we established key success metrics and implemented continuous monitoring.<\/p>\n<\/div>\n<\/div>\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-b807834a wp-block-columns-is-layout-flex is-stacked-on-mobile\" style=\"border-radius:0px;border-bottom-color:#000000;border-bottom-width:2px;padding-bottom:var(--wp--preset--spacing--2400);margin:var(--wp--preset--spacing--800) 0;--columns:2\" data-columns=\"2\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:33.33%\">\n<h5 class=\"wp-block-heading\" id=\"evaluation-framework\">Evaluation framework<\/h5>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:66.66%\">\n<p class=\"wp-block-paragraph has-paragraph-1-font-size\" style=\"\">We measure API Agent performance across four dimensions:&nbsp;<\/p>\n\n\n<ul class=\"wp-block-list wp-block-list has-paragraph-1-font-size\">\n<li>\n<strong>Productivity:<\/strong> Number of tests successfully automated within a given period.<\/li>\n\n\n\n<li>\n<strong>Correctness:<\/strong> Percentage of generated tests that fit our automation framework standards.<\/li>\n\n\n\n<li>\n<strong>Maintainability: <\/strong>How well generated code follows our conventions and remains stable across API changes.<\/li>\n\n\n\n<li>\n<strong>Cost-effectiveness:<\/strong> Infrastructure and compute costs compared to manual test development efforts.<\/li>\n<\/ul>\n<\/div>\n<\/div>\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-b807834a wp-block-columns-is-layout-flex is-stacked-on-mobile\" style=\"border-radius:0px;border-bottom-color:#000000;border-bottom-width:2px;padding-bottom:var(--wp--preset--spacing--2400);margin:var(--wp--preset--spacing--800) 0;--columns:2\" data-columns=\"2\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:33.33%\">\n<h5 class=\"wp-block-heading\" id=\"evaluation-framework\">Evaluation framework<\/h5>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:66.66%\">\n<p class=\"wp-block-paragraph has-paragraph-1-font-size\" style=\"\">Our tuning process involves multiple feedback loops:<\/p>\n\n\n<ul class=\"wp-block-list wp-block-list has-paragraph-1-font-size\">\n<li>\n<strong>LLM Evaluation with Braintrust:<\/strong> We use Braintrust to perform systematic evaluation on tool callings and prompt handling. Insights from these evaluations inform prompt engineering improvements and guide retry logic.&nbsp;<\/li>\n\n\n\n<li>\n<strong>Build and test feedback:<\/strong> The agent learns from build failures during the workflow. When generated code fails to compile, this feedback is captured in our Postgres tracker along with error details. We analyze failure patterns to improve preprocessing validation and code generation prompts.&nbsp;<\/li>\n\n\n\n<li>\n<strong>Code review feedback:<\/strong> Human reviewers provide qualitative feedback through merge request comments. We track common review issues and use them to enhance agent instructions and templates.&nbsp;<\/li>\n\n\n\n<li>\n<strong>Continuous monitoring:<\/strong> Our Postgres tracking database captures comprehensive metrics for every test generation attempt: success\/partial\/failure status, token usage, error types, generation time, and test execution results. We monitor these metrics over time to detect regressions and identify optimization opportunities.&nbsp;<\/li>\n\n\n\n<li>\n<strong>Token optimization:<\/strong> We employed multiple strategies to mitigate context rot, including prompt caching, tool batching, and reducing output sizes.<\/li>\n<\/ul>\n<\/div>\n<\/div>\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-b807834a wp-block-columns-is-layout-flex is-stacked-on-mobile\" style=\"border-radius:0px;border-bottom-color:#000000;border-bottom-width:2px;padding-bottom:var(--wp--preset--spacing--2400);margin:var(--wp--preset--spacing--800) 0;--columns:2\" data-columns=\"2\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:33.33%\">\n<h5 class=\"wp-block-heading\" id=\"resultsand-impact\">Results<br>and Impact<\/h5>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:66.66%\">\n<p class=\"wp-block-paragraph has-paragraph-1-font-size\" style=\"\">Today, API Agent has significantly enhanced our API testing capabilities. The results speak to both the technical effectiveness of the approach and the business impact.<\/p>\n<\/div>\n<\/div>\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-b807834a wp-block-columns-is-layout-flex is-stacked-on-mobile\" style=\"border-radius:0px;border-bottom-color:#000000;border-bottom-width:2px;padding-bottom:var(--wp--preset--spacing--2400);margin:var(--wp--preset--spacing--800) 0;--columns:2\" data-columns=\"2\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:33.33%\">\n<h5 class=\"wp-block-heading\" id=\"quality-impact\">Quality impact<\/h5>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:66.66%\">\n<p class=\"wp-block-paragraph has-paragraph-1-font-size\" style=\"\">The agent has improved our overall testing posture:<\/p>\n\n\n<ul class=\"wp-block-list wp-block-list has-paragraph-1-font-size\">\n<li>Integration test coverage has expanded significantly as the cost of creating tests has dropped.<\/li>\n\n\n\n<li>Database validation queries are generated automatically, improving assertion depth.<\/li>\n\n\n\n<li>Test code consistency has improved, as all generated code adheres to the same patterns and conventions<\/li>\n<\/ul>\n<\/div>\n<\/div>\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-b807834a wp-block-columns-is-layout-flex is-stacked-on-mobile\" style=\"border-radius:0px;border-bottom-color:#000000;border-bottom-width:2px;padding-bottom:var(--wp--preset--spacing--2400);margin:var(--wp--preset--spacing--800) 0;--columns:2\" data-columns=\"2\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:33.33%\">\n<h5 class=\"wp-block-heading\" id=\"developer-experience\">Developer experience<\/h5>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:66.66%\">\n<p class=\"wp-block-paragraph has-paragraph-1-font-size\" style=\"\">API Agent has fundamentally changed how our teams approach API testing:&nbsp;<\/p>\n\n\n<ul class=\"wp-block-list wp-block-list has-paragraph-1-font-size\">\n<li>QA engineers can specify tests in natural language rather than writing code.<\/li>\n\n\n\n<li>Developers receive comprehensive test coverage for new APIs without writing test boilerplate.<\/li>\n\n\n\n<li>Code reviews focus on test logic rather than framework mechanics.<\/li>\n\n\n\n<li>Team velocity has increased as test creation no longer bottlenecks feature delivery.<\/li>\n<\/ul>\n<\/div>\n<\/div>\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-642d9ad4 wp-block-columns-is-layout-flex is-stacked-on-mobile\" style=\"border-radius:0px;margin-top:var(--wp--preset--spacing--800);padding-bottom:var(--wp--preset--spacing--2400);--columns:2\" data-columns=\"2\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:33.33%\">\n<h5 class=\"wp-block-heading\" id=\"looking-forward\">Looking forward<\/h5>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:66.66%\">\n<p class=\"wp-block-paragraph has-paragraph-1-font-size\" style=\"\">We have fully adopted API Agent in our daily work, and the results are shown in a few metrics:&nbsp;<\/p>\n\n\n<ul class=\"wp-block-list wp-block-list\">\n<li>\n<strong>Coverage:<\/strong> Over 85% of our API test cases are now automated using API Agent<\/li>\n\n\n\n<li>\n<strong>Accuracy: <\/strong>Generated tests achieve 90%+ correctness, with most failures caught during automated build validation.<\/li>\n\n\n\n<li>\n<strong>Efficiency:<\/strong> Test creation time reduced from hours or days to minutes.&nbsp;<\/li>\n\n\n\n<li>\n<strong>Scalability:<\/strong> New tests can be added within 15-30 minutes from TestRail specification to executable code.<\/li>\n\n\n\n<li>\n<strong>Adoption:<\/strong> In a couple of months, over 150 MRs were merged, automating over 80+ test cases and saving over 200+ hours of work.&nbsp;&nbsp;<\/li>\n<\/ul>\n\n\n<p class=\"wp-block-paragraph has-paragraph-1-font-size\" style=\"\">The success of API Agent demonstrates that AI can augment human expertise in complex technical domains. <\/p>\n\n\n<p class=\"wp-block-paragraph has-paragraph-1-font-size\" style=\"\">By automating the mechanical aspects of test creation while preserving human oversight through code review, we&#8217;ve achieved a scalable approach to API quality that positions us for continued growth.<\/p>\n\n\n<p class=\"wp-block-paragraph has-paragraph-1-font-size\" style=\"\">Next, we are building multiple AI agents focusing on other testing use cases, which will be published in the near future.<\/p>\n<\/div>\n<\/div>\n\n\n<div class=\"wp-block-group has-grey-text-color has-text-color has-link-color wp-elements-b44703ad141d6111d8638d643b0803f8 has-global-padding is-layout-constrained wp-container-core-group-is-layout-470947e3 wp-block-group-is-layout-constrained\" style=\"font-size:12px\">\n<p style=\"font-size:12px;margin:var(--wp--preset--spacing--150) 0\" class=\"wp-block-paragraph \">Structured products are complex investment vehicles that involve significant risks and may not be suitable for all investors. These securities are typically unsecured debt obligations of the issuing bank and are subject to the credit risk of the issuer. Structured products are not deposits, are not insured by the FDIC, and are not guaranteed by any bank or government agency.&nbsp;<\/p>\n\n\n<p style=\"font-size:12px;margin:var(--wp--preset--spacing--150) 0\" class=\"wp-block-paragraph \">Investment returns and principal repayment depend on the performance of one or more underlying assets and on the terms of each specific note. Any references to defined outcomes, income potential, or downside protection are hypothetical and not guaranteed. Structured products may have limited or no secondary market and should generally be held to maturity.&nbsp;<\/p>\n\n\n<p style=\"font-size:12px;margin:var(--wp--preset--spacing--150) 0\" class=\"wp-block-paragraph \">Altruist Financial LLC (&ldquo;Altruist&rdquo;) does not issue structured products. All structured notes available through Altruist are issued by third-party banks and distributed through external wholesalers. Altruist provides trade processing, custody, and reporting functionality only and does not recommend or endorse any particular issuer, wholesaler, or product.&nbsp;<\/p>\n\n\n<p style=\"font-size:12px;margin:var(--wp--preset--spacing--150) 0\" class=\"wp-block-paragraph \">Fees, costs, and embedded issuer charges may apply and could reduce overall returns. Please refer to the Altruist Financial LLC Fee Schedule and the offering documents provided by the product issuer for additional information.&nbsp;<br>Structured products are intended for investors who understand the risks associated with derivative-based investments. Advisors are responsible for assessing suitability prior to recommending any structured product investment.<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>AI agents have transformed how we approach software quality and testing. We came up with a list of use cases where we leveraged this technology to improve the software quality and speed.<\/p>\n","protected":false},"author":3,"featured_media":5243,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"content-type":"","_custom_page_spacing":"","_custom_nav_style":"","_hide_navigation":false,"_hide_footer":false,"_article_types":"article","footnotes":""},"categories":[112],"tags":[113],"class_list":["post-5236","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-engineering-blog","tag-engineering"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>API automation using AI agents - Altruist<\/title>\n<meta name=\"description\" content=\"How we automated over 85% of our API test cases with 90% accuracy using API Agent.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/altruist.com\/engineering-blog\/api-automation-using-ai-agents\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"API automation using AI agents - Altruist\" \/>\n<meta property=\"og:description\" content=\"How we automated over 85% of our API test cases with 90% accuracy using API Agent.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/altruist.com\/engineering-blog\/api-automation-using-ai-agents\/\" \/>\n<meta property=\"og:site_name\" content=\"Altruist\" \/>\n<meta property=\"article:published_time\" content=\"2026-01-15T21:42:15+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-02-13T17:14:27+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdn.prod.altruistnet.tech\/wp-content\/uploads\/2026\/01\/Artwork.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1250\" \/>\n\t<meta property=\"og:image:height\" content=\"600\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Pablo Rosa\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@altruist\" \/>\n<meta name=\"twitter:site\" content=\"@altruist\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Pablo Rosa\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"12 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/altruist.com\\\/engineering-blog\\\/api-automation-using-ai-agents\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/altruist.com\\\/engineering-blog\\\/api-automation-using-ai-agents\\\/\"},\"author\":{\"name\":\"Pablo Rosa\",\"@id\":\"https:\\\/\\\/altruist.com\\\/#\\\/schema\\\/person\\\/15e5d1a041fcfab4ffce118e89145803\"},\"headline\":\"API automation using AI agents\",\"datePublished\":\"2026-01-15T21:42:15+00:00\",\"dateModified\":\"2026-02-13T17:14:27+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/altruist.com\\\/engineering-blog\\\/api-automation-using-ai-agents\\\/\"},\"wordCount\":1272,\"publisher\":{\"@id\":\"https:\\\/\\\/altruist.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/altruist.com\\\/engineering-blog\\\/api-automation-using-ai-agents\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/cdn.prod.altruistnet.tech\\\/wp-content\\\/uploads\\\/2026\\\/01\\\/Artwork.jpg\",\"keywords\":[\"Engineering\"],\"articleSection\":[\"Engineering Blog\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/altruist.com\\\/engineering-blog\\\/api-automation-using-ai-agents\\\/\",\"url\":\"https:\\\/\\\/altruist.com\\\/engineering-blog\\\/api-automation-using-ai-agents\\\/\",\"name\":\"API automation using AI agents - Altruist\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/altruist.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/altruist.com\\\/engineering-blog\\\/api-automation-using-ai-agents\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/altruist.com\\\/engineering-blog\\\/api-automation-using-ai-agents\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/cdn.prod.altruistnet.tech\\\/wp-content\\\/uploads\\\/2026\\\/01\\\/Artwork.jpg\",\"datePublished\":\"2026-01-15T21:42:15+00:00\",\"dateModified\":\"2026-02-13T17:14:27+00:00\",\"description\":\"How we automated over 85% of our API test cases with 90% accuracy using API Agent.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/altruist.com\\\/engineering-blog\\\/api-automation-using-ai-agents\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/altruist.com\\\/engineering-blog\\\/api-automation-using-ai-agents\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/altruist.com\\\/engineering-blog\\\/api-automation-using-ai-agents\\\/#primaryimage\",\"url\":\"https:\\\/\\\/cdn.prod.altruistnet.tech\\\/wp-content\\\/uploads\\\/2026\\\/01\\\/Artwork.jpg\",\"contentUrl\":\"https:\\\/\\\/cdn.prod.altruistnet.tech\\\/wp-content\\\/uploads\\\/2026\\\/01\\\/Artwork.jpg\",\"width\":1250,\"height\":600},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/altruist.com\\\/engineering-blog\\\/api-automation-using-ai-agents\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/altruist.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"API automation using AI agents\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/altruist.com\\\/#website\",\"url\":\"https:\\\/\\\/altruist.com\\\/\",\"name\":\"Altruist\",\"description\":\"Empowering RIAs to drive better client outcomes\",\"publisher\":{\"@id\":\"https:\\\/\\\/altruist.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/altruist.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/altruist.com\\\/#organization\",\"name\":\"Altruist\",\"url\":\"https:\\\/\\\/altruist.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/altruist.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/altruist.com\\\/wp-content\\\/uploads\\\/2025\\\/01\\\/logo-black-82-nofill.svg\",\"contentUrl\":\"https:\\\/\\\/altruist.com\\\/wp-content\\\/uploads\\\/2025\\\/01\\\/logo-black-82-nofill.svg\",\"width\":82,\"height\":24,\"caption\":\"Altruist\"},\"image\":{\"@id\":\"https:\\\/\\\/altruist.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/x.com\\\/altruist\",\"https:\\\/\\\/www.instagram.com\\\/altruistcorp\\\/\",\"https:\\\/\\\/www.youtube.com\\\/altruist\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/altruist.com\\\/#\\\/schema\\\/person\\\/15e5d1a041fcfab4ffce118e89145803\",\"name\":\"Pablo Rosa\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"API automation using AI agents - Altruist","description":"How we automated over 85% of our API test cases with 90% accuracy using API Agent.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/altruist.com\/engineering-blog\/api-automation-using-ai-agents\/","og_locale":"en_US","og_type":"article","og_title":"API automation using AI agents - Altruist","og_description":"How we automated over 85% of our API test cases with 90% accuracy using API Agent.","og_url":"https:\/\/altruist.com\/engineering-blog\/api-automation-using-ai-agents\/","og_site_name":"Altruist","article_published_time":"2026-01-15T21:42:15+00:00","article_modified_time":"2026-02-13T17:14:27+00:00","og_image":[{"width":1250,"height":600,"url":"https:\/\/cdn.prod.altruistnet.tech\/wp-content\/uploads\/2026\/01\/Artwork.jpg","type":"image\/jpeg"}],"author":"Pablo Rosa","twitter_card":"summary_large_image","twitter_creator":"@altruist","twitter_site":"@altruist","twitter_misc":{"Written by":"Pablo Rosa","Est. reading time":"12 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/altruist.com\/engineering-blog\/api-automation-using-ai-agents\/#article","isPartOf":{"@id":"https:\/\/altruist.com\/engineering-blog\/api-automation-using-ai-agents\/"},"author":{"name":"Pablo Rosa","@id":"https:\/\/altruist.com\/#\/schema\/person\/15e5d1a041fcfab4ffce118e89145803"},"headline":"API automation using AI agents","datePublished":"2026-01-15T21:42:15+00:00","dateModified":"2026-02-13T17:14:27+00:00","mainEntityOfPage":{"@id":"https:\/\/altruist.com\/engineering-blog\/api-automation-using-ai-agents\/"},"wordCount":1272,"publisher":{"@id":"https:\/\/altruist.com\/#organization"},"image":{"@id":"https:\/\/altruist.com\/engineering-blog\/api-automation-using-ai-agents\/#primaryimage"},"thumbnailUrl":"https:\/\/cdn.prod.altruistnet.tech\/wp-content\/uploads\/2026\/01\/Artwork.jpg","keywords":["Engineering"],"articleSection":["Engineering Blog"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/altruist.com\/engineering-blog\/api-automation-using-ai-agents\/","url":"https:\/\/altruist.com\/engineering-blog\/api-automation-using-ai-agents\/","name":"API automation using AI agents - Altruist","isPartOf":{"@id":"https:\/\/altruist.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/altruist.com\/engineering-blog\/api-automation-using-ai-agents\/#primaryimage"},"image":{"@id":"https:\/\/altruist.com\/engineering-blog\/api-automation-using-ai-agents\/#primaryimage"},"thumbnailUrl":"https:\/\/cdn.prod.altruistnet.tech\/wp-content\/uploads\/2026\/01\/Artwork.jpg","datePublished":"2026-01-15T21:42:15+00:00","dateModified":"2026-02-13T17:14:27+00:00","description":"How we automated over 85% of our API test cases with 90% accuracy using API Agent.","breadcrumb":{"@id":"https:\/\/altruist.com\/engineering-blog\/api-automation-using-ai-agents\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/altruist.com\/engineering-blog\/api-automation-using-ai-agents\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/altruist.com\/engineering-blog\/api-automation-using-ai-agents\/#primaryimage","url":"https:\/\/cdn.prod.altruistnet.tech\/wp-content\/uploads\/2026\/01\/Artwork.jpg","contentUrl":"https:\/\/cdn.prod.altruistnet.tech\/wp-content\/uploads\/2026\/01\/Artwork.jpg","width":1250,"height":600},{"@type":"BreadcrumbList","@id":"https:\/\/altruist.com\/engineering-blog\/api-automation-using-ai-agents\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/altruist.com\/"},{"@type":"ListItem","position":2,"name":"API automation using AI agents"}]},{"@type":"WebSite","@id":"https:\/\/altruist.com\/#website","url":"https:\/\/altruist.com\/","name":"Altruist","description":"Empowering RIAs to drive better client outcomes","publisher":{"@id":"https:\/\/altruist.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/altruist.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/altruist.com\/#organization","name":"Altruist","url":"https:\/\/altruist.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/altruist.com\/#\/schema\/logo\/image\/","url":"https:\/\/altruist.com\/wp-content\/uploads\/2025\/01\/logo-black-82-nofill.svg","contentUrl":"https:\/\/altruist.com\/wp-content\/uploads\/2025\/01\/logo-black-82-nofill.svg","width":82,"height":24,"caption":"Altruist"},"image":{"@id":"https:\/\/altruist.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/altruist","https:\/\/www.instagram.com\/altruistcorp\/","https:\/\/www.youtube.com\/altruist"]},{"@type":"Person","@id":"https:\/\/altruist.com\/#\/schema\/person\/15e5d1a041fcfab4ffce118e89145803","name":"Pablo Rosa"}]}},"_links":{"self":[{"href":"https:\/\/altruist.com\/wp-json\/wp\/v2\/posts\/5236","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/altruist.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/altruist.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/altruist.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/altruist.com\/wp-json\/wp\/v2\/comments?post=5236"}],"version-history":[{"count":0,"href":"https:\/\/altruist.com\/wp-json\/wp\/v2\/posts\/5236\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/altruist.com\/wp-json\/wp\/v2\/media\/5243"}],"wp:attachment":[{"href":"https:\/\/altruist.com\/wp-json\/wp\/v2\/media?parent=5236"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/altruist.com\/wp-json\/wp\/v2\/categories?post=5236"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/altruist.com\/wp-json\/wp\/v2\/tags?post=5236"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}