# US 2025/0156249 A1 · Monitoring an application programming interface function and adjusting the same

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

- Number: US 2025/0156249 A1
- Document ID: US20250156249A1
- Status: Published application
- Kind: A1
- Application number: 18/508,006
- Filed: 2023-11-13
- Published: 2025-05-15
- Earliest claimed: 2023-11-13
- Assignees: Capital One Services, LLC
- Applicants: Capital One Services, LLC
- Inventors: Matthew Louis NOWAK; Mohamed SECK; Krystan R. FRANZEN
- Web page: https://patentgrep.com/patent/US20250156249A1

## CPC

- G06F 9/4881: {Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues}
- G06F 9/505: {considering the load}
- G06F 9/455: Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F 9/45558: {Hypervisor-specific management and integration aspects}
- G06F 9/48: Program initiating; Program switching, e.g. by interrupt
- G06F 9/50: Allocation of resources, e.g. of the central processing unit [CPU]
- G06F 9/5005: {to service a request}
- G06F 9/5027: {the resource being a machine, e.g. CPUs, Servers, Terminals}
- G06F 9/5083: {Techniques for rebalancing the load in a distributed system}
- G06F 9/541: {via adapters, e.g. between incompatible applications}
- G06F 11/00: Error detection; Error correction; Monitoring (error detection, correction or monitoring in information storage based on relative movement between record carrier and transducer G11B20/18; monitoring, i.e. supervising the progress of recording or reproducing G11B27/36; in static stores G11C29/00)
- G06F 11/07: Responding to the occurrence of a fault, e.g. fault tolerance
- G06F 11/0703: {Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation}
- G06F 11/30: Monitoring
- G06F 11/3055: {Monitoring arrangements for monitoring the status of the computing system or of the computing system component, e.g. monitoring if the computing system is on, off, available, not available (error or fault processing without redundancy G06F11/0703; error detection or correction by redundancy in data representation G06F11/08; error detection or correction of the data by redundancy in operations G06F11/14; error detection or correction by redundancy in hardware G06F11/16)}
- G06N 5/01: Dynamic search techniques; Heuristics; Dynamic trees; Branch-and-bound
- G06N 20/00: Machine learning
- H04L 41/147: for predicting network behaviour
- H04L 41/16: using machine learning or artificial intelligence
- H04L 43/0876: Network utilisation, e.g. volume of load or congestion level
- G06F 2209/5019: Workload prediction
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

In some implementations, an application programming interface (API) monitor may provide traffic information associated with an API function to a machine learning model. The API monitor may determine, based on output from the machine learning model, whether the API function complies with one or more requirements in a service level agreement associated with the API function. Accordingly, the API monitor may transmit, to an administrator device, a report indicating whether the API function complies with the one or more requirements.

## Claims

### Claim 1

A system for monitoring and adjusting an application programming interface (API) function, the system comprising:
one or more memories; and
one or more processors, communicatively coupled to the one or more memories, configured to:
provide traffic information associated with the API function to a machine learning model;
determine, based on output from the machine learning model, whether the API function complies with one or more requirements in a service level agreement (SLA) associated with the API function;
transmit, to an administrator device, a report indicating whether the API function complies with the one or more requirements;
receive, from the machine learning model, an indication that the API function is predicted to fail; and
transmit an instruction to scale the API function based on the indication that the API function is predicted to fail.

### Claim 2 (depends on 1)

The system of claim 1, wherein the one or more processors are configured to:
receive, from the machine learning model, an indication of a suggested configuration change to the API function based on whether the API function complies with the one or more requirements; and
transmit an instruction to apply the suggested configuration change.

### Claim 3 (depends on 2)

The system of claim 2, wherein the report indicates the suggested configuration change, and the one or more processors are configured to:
receive, from the administrator device, an approval of the suggested configuration change,
wherein the instruction to apply the suggested configuration change is transmitted in response to the approval.

### Claim 4 (depends on 1)

The system of claim 1, wherein the traffic information indicates one or more sources associated with inputs to the API function, an average packet size associated with the inputs, or an average response time associated with the API function.

### Claim 5 (depends on 1)

The system of claim 1, wherein the machine learning model is trained using a dataset labeled according to the one or more requirements in the SLA.

### Claim 6 (depends on 1)

The system of claim 1, wherein the indication that the API function is predicted to fail includes a future datetime.

### Claim 7 (depends on 1)

The system of claim 1, wherein the instruction to scale is further based on the traffic information.

### Claim 8

A method of monitoring and adjusting an application programming interface (API) function, comprising:
providing, by an API monitor, traffic information associated with the API function to a machine learning model;
receiving, from the machine learning model, an indication of at least one source that is abusing the API function;
transmitting, to an administrator device, the indication of the at least one source; and
transmitting, based on the indication of the at least one source and to the API function, an instruction to block calls from the at least one source.

### Claim 9 (depends on 8)

The method of claim 8, further comprising:
receiving, from the administrator device, a confirmation in response to the indication of the at least one source,
wherein the instruction to block calls is transmitted based on the confirmation.

### Claim 10 (depends on 8)

The method of claim 8, wherein the indication of the at least one source includes an Internet protocol (IP) address, a source name, or a combination thereof.

### Claim 11 (depends on 8)

The method of claim 8, wherein the machine learning model is configured to detect abuse of the API function based on a rate of inputs to the API function, a size associated with the inputs, or a combination thereof.

### Claim 12 (depends on 8)

The method of claim 8, further comprising:
transmitting, to a device associated with the at least one source, an indication that the at least one source is blocked.

### Claim 13 (depends on 8)

The method of claim 8, wherein the machine learning model is trained using a dataset associated with denial-of-service attacks.

### Claim 14

A non-transitory computer-readable medium storing a set of instructions for monitoring and adjusting an application programming interface (API) function, the set of instructions comprising:
one or more instructions that, when executed by one or more processors of a device, cause the device to:
provide traffic information associated with the API function to a machine learning model;
determine, based on output from the machine learning model, whether the API function complies with one or more requirements in a service level agreement (SLA) associated with the API function; and
transmit, to an administrator device, a report indicating whether the API function complies with the one or more requirements.

### Claim 15 (depends on 14)

The non-transitory computer-readable medium of claim 14, wherein the report comprises a file encoding an indication of whether the API function complies with the one or more requirements.

### Claim 16 (depends on 14)

The non-transitory computer-readable medium of claim 14, wherein the report comprises instructions to output a user interface (UI), wherein the UI includes a visual indicator, associated with the API function, that indicates whether the API function complies with the one or more requirements.

### Claim 17 (depends on 16)

The non-transitory computer-readable medium of claim 16, wherein the one or more instructions, when executed by the one or more processors, cause the device to:
receive, from the administrator device, an indication of an interaction with the visual indicator; and
transmit, to the administrator device, instructions to output a pop-up window including information associated with the one or more requirements.

### Claim 18 (depends on 14)

The non-transitory computer-readable medium of claim 14, wherein the one or more requirements in the SLA include one or more thresholds associated with input to, or output from, the API function.

### Claim 19 (depends on 14)

The non-transitory computer-readable medium of claim 14, wherein the one or more instructions, when executed by the one or more processors, cause the device to:
receive, from the administrator device, an instruction to disable the API function in response to the report; and
transmit, based on the instruction and to a host associated with the API function, a command to disable the API function.

### Claim 20 (depends on 14)

The non-transitory computer-readable medium of claim 14, wherein the one or more instructions, when executed by the one or more processors, cause the device to:
transmit, based on whether the API function complies with the one or more requirements, a command to throttle the API function.
