Skip to main content
GET
/
usage
/
data
/
total
Get aggregated total data usage
curl --request GET \
  --url https://dashboard.hologram.io/api/1/usage/data/total \
  --header 'Authorization: Basic <encoded-value>'
{
  "success": true,
  "data": [
    {
      "total_bytes": "<string>",
      "total_sessions": "<string>",
      "reporting_windows_with_usage": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

HTTP Basic authentication using API keys. Set the username to apikey and the password to your API key. You can find your API key on the Hologram Dashboard under Account Settings.

Query Parameters

timestart
integer

Unix timestamp; return records from this time onward

timeend
integer

Unix timestamp; return records up to this time

Response

OK

success
boolean

Indicates whether the request was successful.

Example:

true

data
object[]

Always contains exactly one element with the aggregated totals