Usage and limits
The Usage page shows the Project's use in the current period against the Plan's limits, with a daily chart for each item.

Usage period
The usage period is the calendar month in UTC; its start and end are shown at the top. Egress and MAU start from zero every month. Database and Storage are current levels and do not reset with the month.
What is counted
| Item | What is counted |
|---|---|
| Database | The current Database size (Tables, indexes, and the Auth and Storage data), measured every few minutes. |
| Storage | The total size of the files in all Buckets. |
| Egress | The size of the responses the Project sent this month (REST, Auth and file downloads). |
| MAU | The number of distinct Users who signed in or refreshed their token this month. |
| Requests («درخواستها») | The number of requests to the Endpoint (no limit; for information). |
| SMS OTP («پیامک OTP») | The number of SMS codes sent. |
The same figures appear in short on the Project's card in the Project list and on the Overview. From the terminal: arianet baas usage <project-id>.
Warnings
For Database, Storage, Egress and MAU you get a notice when usage reaches 80 % and then 100 % of the Plan's limit. Each warning is sent once per item per month. If usage passes both thresholds between two checks, you only get the 100 % warning.
Reaching a limit
Free Plan limits are hard; at 100 %:
| Item | Effect | Until |
|---|---|---|
| Egress | Every request to the Project is refused with 402 egress_limit_reached. | the month ends or the Plan changes |
| MAU | New sign-ups (and anonymous sign-in, or a one-time code for an unknown address) are refused with 422 signup_disabled. Existing Users keep signing in. | the month ends or the Plan changes |
| Storage | Uploads and copies are refused with 413 (QuotaExceeded) and nothing is stored. Reading and deleting files works. | files are deleted or the Plan changes |
| Database | The Database becomes read-only: reads work, writes are refused. If it still grows, the Project is paused and suspended with the reason "Database space full". Once the size is back under the limit, it is writable again. | the size goes down or the Plan changes |
These states take effect within a minute or two of crossing a limit and are lifted just as fast when the month starts or the Plan changes.
On paid Plans (coming soon), going over the Egress, MAU and Storage limits does not stop the service; the extra use is billed separately. The Database limit applies on every Plan as above.
Other Free Plan limits
| Item | Value |
|---|---|
| Requests per second per Project | 50 (beyond that 429 rate_limit_exceeded with a Retry-After header) |
| Concurrent Database connections | 20 |
| Longest SQL statement through the API | 8 seconds |
| Size of one file | 50 MB |
| Rows per REST response | at most 1000 |
| Automatic pause | after 7 days without a request (details) |