Skip to main content
GET
/
usage
/
data
/
daily
List daily aggregated data usage
curl --request GET \
  --url https://dashboard.hologram.io/api/1/usage/data/daily \
  --header 'Authorization: Basic <encoded-value>'
{
  "success": true,
  "limit": 123,
  "size": 123,
  "continues": true,
  "lastid": 123,
  "links": {
    "path": "<string>",
    "base": "<string>",
    "next": "<string>"
  },
  "data": [
    {
      "linkid": 123,
      "record_id": 123,
      "date": "<string>",
      "bytes": 123,
      "session_count": 123,
      "reporting_windows_with_usage": 123
    }
  ]
}

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

limit
integer
default:100

Maximum number of results to return (max 5000)

Required range: x <= 5000
before
integer

Return records with ID less than this value (cursor-based pagination)

after
integer

Return records with ID greater than this value (cursor-based pagination)

linkid
integer

Filter by a specific cellular link (SIM profile) ID

linkids
string

Comma-separated list of link (SIM profile) IDs to filter by

tagids
string

Comma-separated list of device tag IDs to filter by

timestart
integer

Unix timestamp; return records from this time onward

timeend
integer

Unix timestamp; return records up to this time

islive
boolean

When true, include only live (non-paused) devices

aggregateall
boolean

When true, aggregate usage across all matching records into a single row

startat
string

Return results with record ID less than this value

tagid
integer

Filter by device tag ID

tagname
string

Filter by device tag name

dataplansubscriptionid
integer

Filter by data plan subscription ID

Response

OK

success
boolean

Indicates whether the request was successful.

Example:

true

limit
integer

Maximum number of records returned per page

size
integer

Number of records in this response

continues
boolean

True if more records are available

lastid
integer

record_id of the last record returned; pass as startat to fetch the next page

data
object[]