# US 2026/0310528 A1 · System and Method for Generative Artificial Intelligence Merging, Construction, and Optimization of Application Program Interfaces

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2026/0310528 A1
- Document ID: US20260310528A1
- Status: Published application
- Kind: A1
- Application number: 19/714,931
- Filed: 2026-06-22
- Published: 2026-10-08
- Earliest claimed: 2023-09-25
- Assignees: Bank of America Corporation
- Applicants: Bank of America Corporation
- Inventors: Shailendra Singh
- Web page: https://patentgrep.com/patent/US20260310528A1

## CPC

- G06F 9/54: Interprogram communication
- G06F 11/3612: {by runtime analysis (performance monitoring G06F11/3466)}
- G06F 11/3688: {for test execution, e.g. scheduling of test suites}
- H04L 9/50: {using hash chains, e.g. blockchains or hash trees}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A system processes inter-program communication by merging application program interfaces (APIs). API metadata for a plurality of mergeable APIs is extracted from a distributed API repository. A generative artificial intelligence process that executes a deep-learning neural network generates API clusters of combinable APIs from the API metadata and, from telemetry, identifies an API solution cluster having a highest performance ranking. The combinable APIs of the API solution cluster are combined, consistent with an API security rule, into a constructed API. The constructed API is tested as a self-executing smart contract stored on a distributed ledger blockchain, and the operability test results are returned to the generative artificial intelligence process. The constructed API is deployed to the distributed ledger blockchain, obsolete APIs are removed from the distributed API repository, and the distributed ledger blockchain is monitored in real time to incorporate performance metrics into the generative artificial intelligence process.

## Claims

### Claim 1

A generative artificial intelligence system for merging application program interfaces (APIs) comprising:
a processor; and
a non-volatile memory coupled to the processor and storing computer-executable instructions that, when executed by the processor, cause the system to:
extract API metadata for a plurality of mergeable APIs from a distributed API repository;
generate, using a generative artificial intelligence process that executes a deep-learning neural network, a plurality of API clusters that each contain combinable APIs from the plurality of mergeable APIs based on the API metadata;
identify, from the plurality of API clusters, an API solution cluster based on which of the plurality of API clusters has a highest performance ranking determined from telemetry generated by the generative artificial intelligence process;
combine the combinable APIs of the API solution cluster, consistent with an API security rule, into a constructed API having constructed metadata;
test the constructed API as a self-executing smart contract stored on a distributed ledger blockchain to obtain operability test results;
transmit the operability test results to the generative artificial intelligence process;
deploy the constructed API to the distributed ledger blockchain;
remove, from the distributed API repository, the combinable APIs and the API metadata that are obsolete in view of the constructed API; and
monitor, in real time, the distributed ledger blockchain to observe performance metrics for the constructed API and to incorporate the performance metrics into the generative artificial intelligence process.

### Claim 2 (depends on 1)

The system of claim 1, wherein the deep-learning neural network comprises a Long Short-Term Memory neural network.

### Claim 3 (depends on 1)

The system of claim 1, wherein the generative artificial intelligence process executes at least one of an abstract syntax tree algorithm and a generative pre-trained transformer algorithm.

### Claim 4 (depends on 1)

The system of claim 1, wherein the computer-executable instructions, when executed by the processor, further cause the system to identify a redundant API and a security-vulnerable API in the distributed API repository and to remove the redundant API and the security-vulnerable API from the distributed API repository.

### Claim 5 (depends on 1)

The system of claim 1, wherein the computer-executable instructions, when executed by the processor, further cause the system to generate an interface layer that maps a legacy call directed to an obsolete API of the distributed API repository to the constructed API.

### Claim 6 (depends on 1)

The system of claim 1, wherein the highest performance ranking is determined in view of execution speed, predicted reliability, security, and scalability.

### Claim 7 (depends on 1)

The system of claim 1, wherein the computer-executable instructions, when executed by the processor, further cause the system to initiate, in response to one of a user request received through a prompt interface and a repository-optimization trigger, a merge-and-create process that produces the constructed API.

### Claim 8

A non-transitory computer-readable storage medium storing computer-executable instructions that, when executed by a processor, cause the processor to perform operations comprising:
extracting, by the processor, API metadata for a plurality of mergeable APIs from a distributed API repository;
generating, by the processor using a generative artificial intelligence process that executes a deep-learning neural network, a plurality of API clusters that each contain combinable APIs from the plurality of mergeable APIs based on the API metadata;
identifying, by the processor, an API solution cluster from the plurality of API clusters based on which of the plurality of API clusters has a highest performance ranking determined from telemetry generated by the generative artificial intelligence process;
combining, by the processor consistent with an API security rule, the combinable APIs of the API solution cluster into a constructed API having constructed metadata;
testing, by the processor, the constructed API as a self-executing smart contract stored on a distributed ledger blockchain to obtain operability test results;
transmitting, by the processor, the operability test results to the generative artificial intelligence process;
deploying, by the processor, the constructed API to the distributed ledger blockchain;
removing, by the processor from the distributed API repository, the combinable APIs and the API metadata that are obsolete in view of the constructed API; and
monitoring, by the processor in real time, the distributed ledger blockchain to observe performance metrics for the constructed API and to incorporate the performance metrics into the generative artificial intelligence process.

### Claim 9 (depends on 8)

The non-transitory computer-readable storage medium of claim 8, wherein the operations further comprise generating, by the processor, a developer notification for an obsolete API of the distributed API repository.

### Claim 10 (depends on 8)

The non-transitory computer-readable storage medium of claim 8, wherein the operations further comprise mapping, by the processor, a future process call directed to an obsolete API of the distributed API repository to the constructed API.

### Claim 11 (depends on 8)

The non-transitory computer-readable storage medium of claim 8, wherein generating the plurality of API clusters comprises assigning, by the processor, a performance score to each API cluster of the plurality of API clusters, and the API solution cluster is identified as an API cluster of the plurality of API clusters having a highest performance score.

### Claim 12 (depends on 8)

The non-transitory computer-readable storage medium of claim 8, wherein the API metadata comprises at least one of an API name, an endpoint, a request format, a response format, an authentication mechanism, a rate limit, an error code, and a version scheme.

### Claim 13 (depends on 8)

The non-transitory computer-readable storage medium of claim 8, wherein the operations further comprise creating, by the processor, the constructed API in response to a user request that does not include source code.

### Claim 14

A computer-implemented method for merging application program interfaces (APIs) performed by a system that includes a processor and a non-volatile memory storing computer-executable instructions, the method comprising:
extracting, by the processor, API metadata for a plurality of mergeable APIs from a distributed API repository;
generating, by the processor using a generative artificial intelligence process that executes a deep-learning neural network, a plurality of API clusters that each contain combinable APIs from the plurality of mergeable APIs based on the API metadata;
identifying, by the processor, an API solution cluster from the plurality of API clusters based on which of the plurality of API clusters has a highest performance ranking determined from telemetry generated by the generative artificial intelligence process;
combining, by the processor consistent with an API security rule, the combinable APIs of the API solution cluster into a constructed API having constructed metadata;
testing, by the processor, the constructed API as a self-executing smart contract stored on a distributed ledger blockchain to obtain operability test results;
transmitting, by the processor, the operability test results to the generative artificial intelligence process;
deploying, by the processor, the constructed API to the distributed ledger blockchain;
removing, by the processor from the distributed API repository, the combinable APIs and the API metadata that are obsolete in view of the constructed API; and
monitoring, by the processor in real time, the distributed ledger blockchain to observe performance metrics for the constructed API and to incorporate the performance metrics into the generative artificial intelligence process.

### Claim 15 (depends on 14)

The computer-implemented method of claim 14, wherein the deep-learning neural network comprises a generative adversarial network.

### Claim 16 (depends on 14)

The computer-implemented method of claim 14, wherein the generative artificial intelligence process executes a knowledge graph model.

### Claim 17 (depends on 14)

The computer-implemented method of claim 14, wherein generating the plurality of API clusters comprises applying, by the processor, natural language processing to the API metadata.

### Claim 18 (depends on 14)

The computer-implemented method of claim 14, wherein the highest performance ranking is determined in view of at least one of response time, latency, throughput, error rate, availability, scalability, cache hit rate, API call rate, time to first byte, and success rate.

### Claim 19 (depends on 14)

The computer-implemented method of claim 14, wherein testing the constructed API comprises executing, by the processor, the self-executing smart contract to perform at least one of functional testing, security testing, and performance testing of the constructed API.

### Claim 20 (depends on 14)

The computer-implemented method of claim 14, wherein monitoring the distributed ledger blockchain is performed one of continuously, periodically, and on demand, and the method further comprises modifying, by the processor, the distributed API repository based on the performance metrics.
