Skip to Content

The RequestBreakdownRow type of the TypeScript SDK, part of AccountUsage.

type RequestBreakdownRow = {
  bytesOut: number
  count: number
  kind: string
  principal: string
  resource: string
  surface: string
}

Fields

FieldTypeDescription
bytesOutnumberTotal response bytes sent for these requests
countnumberTotal number of API requests matching this breakdown
kindstringOperation kind ('read', 'write', 'exempt')
principalstringAuthentication principal type ('system', 'account', 'mailbox', 'none')
resourcestringResource category ('mail', 'calendar', 'contacts', 'directory', 'account', 'auth', 'other')
surfacestringAPI interface surface ('rest', 'jmap', 'dav', 'gateway', 'webmail', 'console', 'mcp')

Used in

AccountUsage.

On this page