UsageRecord
Usage records track subscription usage for users. This includes data, voice, and text usage. Note that there is a delay in usage data that varies between carriers.
- Name
 - object
 - Type
 - string
 - Description
 Type of object is always
usageRecord.Allowed values:usageRecord
- Name
 - data
 - Type
 - integer
 - Description
 Amount of data used in bytes.
Example:18883100
- Name
 - dataDeviceBytes
 - Type
 - integer
 - Status
 - PREVIEW
 - Description
 Amount of on-device data used in bytes.
Optional: This property may not always be included.Example:30029300
- Name
 - dataTetheringBytes
 - Type
 - integer
 - Status
 - PREVIEW
 - Description
 Amount of tethering data used in bytes.
Optional: This property may not always be included.Example:30029300
- Name
 - end
 - Type
 - string
 - Description
 Timestamp representing the exclusive upper bound of the aggregation period (e.g. the end of a 24 hour period, subscription period or user-defined set of dates).
Example:"2021-02-15T00:00:00Z"
- Name
 - labels
 - Type
 - object
 - Description
 - An object containing optional metadata about the usage record.
 
- Name
 - sms
 - Type
 - integer
 - Description
 Amount of SMS messages sent and received.
Example:15
- Name
 - smsInternationalMessages
 - Type
 - integer
 - Status
 - PREVIEW
 - Description
 Amount of SMS messages sent internationally.
Optional: This property may not always be included.Example:6
- Name
 - smsLocalMessages
 - Type
 - integer
 - Status
 - PREVIEW
 - Description
 Amount of SMS messages sent locally.
Optional: This property may not always be included.Example:6
- Name
 - start
 - Type
 - string
 - Description
 Timestamp representing the inclusive lower bound of the aggregation period (e.g. the start of a 24 hour period, subscription period or user-defined set of dates)
Example:"2021-02-14T00:00:00Z"
- Name
 - voice
 - Type
 - integer
 - Description
 Amount of voice usage in seconds.
Example:240
- Name
 - voiceInternationalSeconds
 - Type
 - integer
 - Status
 - PREVIEW
 - Description
 Amount of international voice usage in seconds.
Optional: This property may not always be included.Example:125
- Name
 - voiceLocalSeconds
 - Type
 - integer
 - Status
 - PREVIEW
 - Description
 Amount of local voice usage in seconds.
Optional: This property may not always be included.Example:6
Example
{
  "object": "usageRecord",
  "data": 18883100,
  "dataDeviceBytes": 30029300,
  "dataTetheringBytes": 30029300,
  "end": "2021-02-15T01:01:01.0Z",
  "labels": {
    "country": "US",
    "roaming": "none",
    "subscription": "sub_0SNlurA049MEWV2gSfSxi00xlPIi"
  },
  "sms": 15,
  "smsInternationalMessages": 6,
  "smsLocalMessages": 6,
  "start": "2021-02-14T01:01:01.0Z",
  "voice": 240,
  "voiceInternationalSeconds": 125,
  "voiceLocalSeconds": 6
}