Get user monthly usage statistics
This endpoint requires an API token. You can learn more about how to get an API token from the authentication page.
1const options = {
2 method: "GET",
3 headers: {
4 "Content-Type": "application/json",
5 "Authorization": "YOUR_API_TOKEN"
6 }
7};
8
9fetch("https://api.podengine.ai/api/v1/users/usage/monthly", options)
10 .then(response => response.json())
11 .then(data => console.log(data))
12 .catch(error => console.error('Error:', error));
Property | Type | Description |
---|---|---|
status | literal: OK | |
data | object | |
└user | object | |
└userId | string | |
└teamId | string | |
└usage | array of object | |
└date | string | |
└aiAssistCount | number | |
└contactsRequestedCount | number | |
└csvExportCount | number | |
└searchCount | number | |
└transcriptDownloadCount | number | |
└transcriptionRequests | number |