IP Library Granted Patent US 12,373,327
Granted Patent B2
US 12,373,327 · App. 17/661,258 · Granted Jul 29, 2025

Data logging for API usage analytics

Inventors: Brandon Sneed (Oregon City, OR); Cody Garvin (Camas, WA); Pooya Jaferian (Vancouver, CA)
Assignee: Twilio Inc.
G06F11/3612G06F9/542
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,373,327
App. No.
17/661,258
Granted
Jul 29, 2025
Kind
B2
Abstract

Systems, methods, and computer-readable storage mediums for performing specialized data logging on a client device are disclosed. Observability data pertaining to an API on a client device is captured. The observability includes, for each of one or more functions of the API, a number of times the function is used and a number of times each parameter of the function is used. The observability data pertaining to the API is communicated to a target based on a type of the observability data.

Claims (29)

1. A system comprising:

one or more computer processors;

one or more computer memories;

a set of instructions stored in the one or more computer memories, the set of instructions configuring the one or more computer processors to perform operations, the operations comprising:

capturing observability data pertaining to an API on a client device, the observability data including, for each of one or more functions of the API, a number of times the function is used and a number of times each parameter of the function is used; and

communicating the observability data pertaining to the API to a target of a plurality of targets based on a type of the observability data, the type being one of a plurality of types, the target configured to provide reporting of one or more bugs pertaining to the API without manual intervention.

2. The system of claim 1 , wherein the type of the observability data is an error, a warning, or a debug message.

3. The system of claim 1 , wherein the plurality of targets includes one or more of a local IDE, a remote debugger, or a third-party application.

4. The system of claim 1 , wherein the observability data further pertains to metrics data associated with a usage of the API on the client device.

5. The system of claim 4 , wherein the metrics data is one or more of counters data or gauges data.

6. The system of claim 1 , wherein the observability data includes information pertaining to when the API was called during an event processing timeline.

7. The system of claim 1 , wherein the observability data further includes information pertaining to a destination for an event that is a subject of a usage of the API.

8. A method comprising:

capturing observability data pertaining to an API on a client device, the observability data including, for each of one or more functions of the API, a number of times the function is used and a number of times each parameter of the function is used; and

communicating the observability data pertaining to the API to a target of a plurality of targets based on a type of the observability data, the type being one of a plurality of types, the target configured to provide reporting of one or more bugs pertaining to the API without manual intervention.

9. The method of claim 8 , wherein the type of the observability data is an error, a warning, or a debug message.

10. The method of claim 8 , wherein the plurality of targets includes one or more of a local IDE, a remote debugger, or a third-party application.

11. The method of claim 8 , wherein the observability data further pertains to metrics data associated with a usage of the API on the client device.

12. The method of claim 11 , wherein the metrics data is one or more of counters data or gauges data.

13. The method of claim 8 , wherein the observability data includes information pertaining to when the API was called during an event processing timeline.

14. The method of claim 8 , wherein the observability data further includes information pertaining to a destination for an event that is a subject of a usage of the API.

15. A non-transitory computer-readable storage medium storing a set of instructions that, when executed by one or more computer processors, cause the one or more computer processors to perform operations for processing an event at a client device, the operations comprising:

capturing observability data pertaining to an API on a client device, the observability data including, for each of one or more functions of the API, a number of times the function is used and a number of times each parameter of the function is used; and

communicating the observability data pertaining to the API to a target of a plurality of targets based on a type of the observability data, the type being one of a plurality of types, the target configured to provide reporting of one or more bugs pertaining to the API without manual intervention.

16. The non-transitory computer-readable storage medium of claim 15 , wherein the type of the observability data is an error, a warning, or a debug message.

17. The non-transitory computer-readable storage medium of claim 15 , wherein the plurality of targets includes one or more of a local IDE, a remote debugger, or a third-party application.

18. The non-transitory computer-readable storage medium of claim 15 , wherein the observability data further pertains to metrics data associated with a usage of the API on the client device.

19. The non-transitory computer-readable storage medium of claim 18 , wherein the metrics data is one or more of counters data or gauges data.

20. The non-transitory computer-readable storage medium of claim 15 , wherein the observability data includes information pertaining to when the API was called during an event processing timeline.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 28, 2022
From: SNEED, BRANDON; GARVIN, CODY; JAFERIAN, POOYA
To: TWILIO INC.
Reel/Frame 059762/0949 →
Continuity (1)
Related Publication 20230350782A1 · Nov 2, 2023
References Cited (13)
US 9679139B1 · Monastyrsky · 2017 [cited by examiner]
US 20070288897A1 · Branda · 2007 [cited by examiner]
US 20150193280A1 · Han · 2015 [cited by examiner]
US 20170004310A1 · Ivanov · 2017 [cited by examiner]
US 20190121977A1 · Gordeychik · 2019 [cited by examiner]
US 20190324513A1 · Hu · 2019 [cited by examiner]
US 20210006478A1 · Levitt · 2021 [cited by examiner]
US 20220066848A1 · Cho · 2022 [cited by examiner]
CN 103514075A · 2014 [cited by examiner]
CN 103514075B · 2016 [cited by examiner]
CN 113835952A · 2021 [cited by examiner]
CN 115658135A · 2023 [cited by examiner]
JP 2018041438A · 2018 [cited by examiner]