---
title: "Limits"
description: "`limits.get`."
url: "https://nextmail.sh/docs/sdk/limits"
area: "TypeScript"
category: "Mailbox"
---

# Limits

`limits.get`.

## Every method

**limits.ts**

```
const limits = await nextmail.limits.get()

console.log(limits.plan.name, limits.sends.day.used, limits.sends.day.limit)
console.log(limits.sends.month.resetsAt, limits.apiRequestsPerMinute)
```

`limits.get` says the plan of the workspace, the emails sent today and this month with the cap of each and when it resets, and the API requests a minute the workspace may make. A `limit` of `null` means no cap. Reading needs `settings:read`.

> The day and the month are counted in UTC. A send past a cap is refused with 429 `send_quota_exceeded`, and the answer names the cap and when it resets.
