Logs & Usage Data
Logs & Usage Data
Logs & Usage Data
You can obtain up to 90 days of log usage data from Deepgram. If you need log usage data for a longer period of time you can use our Usage API to programmatically fetch usage data on an interval and store it for retrieval as needed.
Within the Deepgram Console you can view your API usage and API log activity of all your requests.
Not limited to 90 days.
Limited to 90 days.
You can use the Deepgram API to programmatically fetch usage data. Please refer to our API documentation for more details.
This also enables exporting and reporting on your usage, which can be imported into other tools of your choosing, such as Tableau, Grafana, or Datadog.
Replace YOUR_DEEPGRAM_API_KEY with your Deepgram API Key.
Replace YOUR_PROJECT_IDwith your Deepgram project id.
A response will be returned as such:
Summarized usage data is not limited to 90 days.
Replace YOUR_PROJECT_IDwith your Deepgram project id.
A response will be returned:
Within the Deepgram Console you can view usage request logs and you may see requests in different states. Below is an explanation of what those states mean and a recommended resolution.
You can retrieve the cost per-request in USD using the Get a Project Request Deepgram Management API.
To do so, specify your Deepgram Project ID and Request ID in your API request. The response will include detailed information, including the cost.
Refer to the response.details.usd field in the response.
Here is an example JSON response you would receive from this API.
What’s Next