Get Usage

Gets a usage report for an account between two days (inclusive) in UTC. There is a limit to pulling 90 days of usage at a time.

  • rowCount: Number of instances this item was billed in the given time range.
  • billedCount: Number of items billed. This may be different than the row count for entries where multiple items are billed at the same time. For example a large sms message may be billed for 2 or 3 messages on a single send.
  • totalDuration: Number of seconds for this item. Not always present for things without a duration.
  • cost: Base charge for these items.
  • finalCost: Total cost for these items. For rows with surcharges, this will include those values.
  • serviceType: The general category for this item. Examples: call, sms
  • subType: Subtype of this item.
  • lob: Line of business. Example: api, broadcast
  • description: Human readable description for what the charge is for
  • itemCode: Billable item code.
Language
URL
Click Try It! to start a request and see the response here!