Usage
warning
Note: AudioShake is currently migrating customers to the new Tasks API.
The legacy documentation below is provided for reference only.
The /usage endpoint provides an easy way to track your API usage. It returns a summary of jobs posted and the total minutes of audio processed for your account over the last three months.
Example Request:
curl -X 'GET' \
'https://groovy.audioshake.ai/usage' \
-H 'accept: application/json' \
-H 'Authorization: Bearer <YOUR_ACCESS_TOKEN>'
Usage Response
The response contains your clientId and the last three months of usage records, including the number of jobs processed and the total duration of processed audio in minutes for each month.
Example Response:
{
"clientId": "<your_client_id>",
"usage": [
{
"month": "2025-02",
"totalJobs": 15,
"totalMinutes": 21.3115
},
{
"month": "2025-01",
"totalJobs": 81,
"totalMinutes": 91.6818
},
{
"month": "2024-12",
"totalJobs": 10,
"totalMinutes": 40.2578
}
]
}
| Element | Description |
|---|---|
clientId | Your unique client identifier. |
usage | A list of monthly usage records. |
month | The month of usage (YYYY-MM). |
totalJobs | The number of jobs processed in the given month. |
totalMinutes | The total duration of processed audio in minutes. |