# US 2021/0081260 A1 · Management of application programming interface (api) retention

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

- Number: US 2021/0081260 A1
- Document ID: US20210081260A1
- Status: Published application
- Kind: A1
- Application number: 16/575,084
- Filed: 2019-09-18
- Published: 2021-03-18
- Earliest claimed: 2019-09-18
- Assignees: Moesif, Inc.
- Applicants: Moesif, Inc.
- Inventors: Derric Stephen Gilling; Xingheng Timothy Wang
- Web page: https://patentgrep.com/patent/US20210081260A1

## CPC

- G06F 9/541: {via adapters, e.g. between incompatible applications}
- G06F 9/547: {Remote procedure calls [RPC]; Web services}
- G06F 9/30021: {Compare instructions, e.g. Greater-Than, Equal-To, MINMAX}
- G06F 9/4451: {User profiles; Roaming}
- G06F 11/302: {where the computing system component is a software system}
- G06F 2201/835: Timestamp
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Systems, methods, and software described herein manage and process application programming interface (API) statistics associated with an API provider. In one example, a monitoring service obtains API request information associated with API requests from API users to an API provider. The monitoring service determines time stamps for the API requests based on the API provider information and compares the time stamps to retention criteria for the API provider to determine a retention of the plurality of API users over time. The monitoring service further generates a summary based on the comparison.

## Claims

### Claim 1

A method comprising:
obtaining application programming interface (API) request information associated with API requests from an API user to an API provider;
determining time stamps associated with the API requests based on the API request information;
comparing the time stamps of the API requests to at least one retention criterion to determine a retention of the API user to the API provider as a function of time, wherein the retention indicates whether the API user uses the API provider for consecutive time periods; and
generating a retention summary based on the retention of the API user.

### Claim 2 (depends on 1)

The method of claim 1, wherein the at least one retention criterion comprises a time period for the API user to generate a first API request with a first API function and generate a second API request with a second API function.

### Claim 3 (depends on 1)

The method of claim 1, wherein the retention summary comprises a data structure, and wherein the method further comprises providing a display of the retention summary to an administration computing system.

### Claim 4 (depends on 1)

The method of claim 1, wherein comparing the time stamps of the API requests to at least one retention criterion comprises:
(a) identifying a first API request of the API requests that corresponds to a first API function;
(b) identifying a second API request of the API requests that corresponds to a second API function;
(c) determining that the API user has been retained when the first API request and the second API request occur within a first time period;
(d) if the API user is retained, repeating steps (a)-(c) with a second time period in place of the first time period, wherein the second time period follows the first time period.

### Claim 5 (depends on 1)

The method of claim 1 further comprising:
obtaining second API request information associated with second API requests from one or more additional API users to the API provider;
determining second time stamps associated with the second API requests based on the second API request information;
comparing the second time stamps of the API requests to the at least one retention criterion to determine a retention of the one or more additional API users as a function of time, wherein the retention of the one or more additional API users indicates whether the one or more additional API users use the API provider for consecutive time periods; and
wherein the retention summary is further generated based on the retention of the one or more additional API users.

### Claim 6 (depends on 5)

The method of claim 5, wherein the retention summary comprises at least a graph, and wherein the graph indicates the retention of the API user and the retention of the one or more additional API users as a function of time.

### Claim 7 (depends on 5)

The method of claim 5 further comprising determining that the retention of the API user and the retention of the one or more additional API users satisfy a trend of interest, and wherein the retention summary indicates the trend of interest.

### Claim 8 (depends on 1)

The method of claim 1 further comprising:
obtaining a request to generate the retention summary; and
generating the retention summary in response to the request.

### Claim 9

A computing apparatus comprising:
a storage system;
a processing system operatively coupled to the storage system; and
program instructions stored on the storage system that, when executed by the processing system, direct the processing system to:
obtain application programming interface (API) request information associated with API requests from an API user to an API provider;
time stamps associated with the API requests based on the API request information;
compare the time stamps of the API requests to at least one retention criterion to determine a retention of the API user to the API provider as a function of time, wherein the retention indicates whether the API user uses the API provider for consecutive time periods; and
generate a retention summary based on the retention of the API user.

### Claim 10 (depends on 9)

The computing apparatus of claim 9, wherein the at least one retention criterion comprises a time period for the API user to generate a first API request with a first API function and generate a second API request with a second API function.

### Claim 11 (depends on 9)

The computing apparatus of claim 9, wherein the retention summary comprises a data structure, and wherein the method further comprises providing a display of the retention summary to an administration computing system.

### Claim 12 (depends on 9)

The computing apparatus of claim 9, wherein comparing the time stamps of the API requests to at least one retention criterion comprises:
(a) identifying a first API request of the API requests that corresponds to a first API function;
(b) identifying a second API request of the API requests that corresponds to a second API function;
(c) determining that the API user has been retained when the first API request and the second API request occur within a first time period;
(d) if the API user is retained, repeating steps (a)-(c) with a second time period in place of the first time period, wherein the second time period follows the first time period.

### Claim 13 (depends on 9)

The computing apparatus of claim 9, wherein the program instructions further direct the processing system to:
obtain second API request information associated with second API requests from one or more additional API users to the API provider;
determine second time stamps associated with the second API requests based on the second API request information;
compare the second time stamps of the API requests to the at least one retention criterion to determine a retention of the one or more additional API users as a function of time, wherein the retention of the one or more additional API users indicates whether the one or more additional API users use the API provider for consecutive time periods; and
wherein the retention summary is further generated based on the retention of the one or more additional API users.

### Claim 14 (depends on 13)

The computing apparatus of claim 13, wherein the retention summary comprises at least a graph, and wherein the graph indicates the retention of the API user and the retention of the one or more additional API users as a function of time.

### Claim 15 (depends on 13)

The computing apparatus of claim 13, wherein the program instructions further direct a processing system to determine that the retention of the API user and the retention of the one or more additional API users satisfy a trend of interest, and wherein the retention summary indicates the trend of interest.

### Claim 16 (depends on 9)

The computing apparatus of claim 9, wherein the program instructions further direct the processing system to:
obtain a request to generate the retention summary; and
generate the retention summary in response to the request.

### Claim 17

A method comprising:
obtaining application programming interface (API) request information associated with API requests from a plurality of API users to an API provider;
determining time stamps associated with the API requests based on the API request information;
comparing the time stamps of the API requests to at least one retention criterion to determine a retention of the plurality of API users to the API provider as a function of time, wherein the retention indicates whether the plurality of API users use the API provider for consecutive time periods;
determine that the retention of the plurality of API users satisfy a trend of interest; and
generating a retention summary based on the retention, wherein the retention summary indicates the trend of interest.

### Claim 18 (depends on 17)

The method of claim 17, wherein the retention summary comprises at least a graph, and wherein the graph indicates the retention of the plurality of API users as a function of time.

### Claim 19 (depends on 17)

The method of claim 17 further comprising:
obtaining a request to generate the retention summary; and
generating the retention summary in response to the request.

### Claim 20 (depends on 17)

The method of claim 17 further comprising providing a display of the retention summary to an administration computing system.
