# AccountSendUsageSend

The AccountSendUsageSend type of the TypeScript SDK, part of AccountSendUsage.

```ts
type AccountSendUsageSend = {
  messages: number
  messagesHour: number
  msgsPerDay: number | null
  msgsPerHour: number | null
  rcptsPerDay: number | null
  rcptsPerHour: number | null
  recipients: number
  recipientsHour: number
}
```

## Fields

| Field | Type | Description |
| --- | --- | --- |
| `messages` | `number` | Distinct messages sent in the rolling 24-hour window, plus each accepted list post whose fan-out is still being delivered: the count the daily limit is checked against |
| `messagesHour` | `number` | Distinct messages in the BURST window (current + previous hourly bucket), summed across the account's ledger shards |
| `msgsPerDay` | `number` \| `null` | Configured daily message limit (null = unenforced) |
| `msgsPerHour` | `number` \| `null` | Configured hourly (burst) message limit (null = unenforced) |
| `rcptsPerDay` | `number` \| `null` | Configured daily recipient limit (null = unenforced) |
| `rcptsPerHour` | `number` \| `null` | Configured hourly (burst) recipient limit (null = unenforced) |
| `recipients` | `number` | Total recipients sent to in the rolling 24-hour window, plus the recipients an accepted list post still holds for its fan-out: the count the daily limit is checked against |
| `recipientsHour` | `number` | Recipients in the BURST window (current + previous hourly bucket) |

## Used in

[`AccountSendUsage`](/docs/sdks/typescript/types/account-send-usage).
