# DomainTrafficTotals

The DomainTrafficTotals type of the TypeScript SDK, part of DomainTraffic.

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

## Fields

| Field | Type | Description |
| --- | --- | --- |
| `bytes` | `number` | Total message size bytes |
| `bytesIn` | `number` | Bytes received across the window, by daily usage's `inboundBytes` rule (see the series point) |
| `bytesOut` | `number` | Bytes sent across the window, by daily usage's `outboundBytes` rule (see the series point) |
| `events` | `number` | Total events count |
| `forwarded` | `number` | Inbound-driven egress events — the forwarded subset of outbound |

## Used in

[`DomainTraffic`](/docs/sdks/typescript/types/domain-traffic).
