Usage API (1.0.0)

The Usage API gives you access to your account's usage statistics for Deepgram services.

Server

URL
https://usage.deepgram.com/beta

Authentication

Basic

All requests to the API should include a basic Authorization header that references the Base64-encoded username (or email address you used to sign up) and password of your Deepgram account.

For example, for user gandalf with password mellon, the base64-encoded value of gandalf:mellon is Z2FuZGFsZjptZWxsb24=. So Gandalf's requests to the Deepgram Usage API should all include the following header: Authorization: Basic Z2FuZGFsZjptZWxsb24=.

Security Scheme Type HTTP
HTTP Authorization Scheme basic

Usage

Get usage statistics for Deepgram services.

Get Usage

Gets usage statistics for Deepgram services.

Query Parameters

NameDescription
date
date

Date for which you want to get usage statistics. Format is YYYY-MM-DD. If not specified, you will receive statistics for all-time usage.

Default: null
Possible Values: null OR <YYYY-MM-DD>
Examples:
Select Example

Responses

StatusDescription
200 successUsage statistics found.
Response Schema
NameDescription
result
array

Array of JSON-formatted objects.

cURL
Send
curl --request GET \ --url 'https://usage.deepgram.com/beta/usage?date=SOME_DATE_VALUE' \ --header 'Authorization: Basic REPLACE_BASIC_AUTH' \ --header 'content-type: application/json'
Response
{
  • "result": [
    ]
}
Was this section helpful?
Yes No