# AccountTrafficTotals

The AccountTrafficTotals type of the TypeScript SDK, part of AccountTraffic.

```ts
type AccountTrafficTotals = {
  bytes: number
  bytesIn: number
  bytesOut: number
  events: number
  forwarded: number
}
```

## Fields

| Field | Type | Description |
| --- | --- | --- |
| `bytes` | `number` | Total bytes across all account domains |
| `bytesIn` | `number` | Bytes received across all account domains over the window, by daily usage's `inboundBytes` rule (see the series point) |
| `bytesOut` | `number` | Bytes sent across all account domains over the window, by daily usage's `outboundBytes` rule (see the series point) |
| `events` | `number` | Total events across all account domains |
| `forwarded` | `number` | Inbound-driven egress events across all account domains — the forwarded SUBSET of outbound, counted inside it rather than beside it. The number a tenant is billed for separately, below submitted mail |

## Used in

[`AccountTraffic`](/docs/sdks/typescript/types/account-traffic).
