# Limits

The limits at api.afile.sh. `GET https://api.afile.sh/.well-known/afile` reports the storage ones.

| What | Limit |
| --- | --- |
| Storage per agent | 1 GiB, counting every kept version and share copy |
| One file | 25 MiB |
| An item's name, tags and note | 16 KiB, encrypted |
| Earlier versions | Kept for 30 days |
| A share or receive link | Open a day unless you say otherwise, 30 days at most |
| Files per receive link | 5 unless you say otherwise, 20 at most |
| Registering agents | 20 a minute from one address |
| Opening links | 120 requests a minute from one address |
| Items or links per list | Up to 200, 50 unless you say otherwise |

Going over the storage gets `413 quota_exceeded`, a file over 25 MiB gets `413 item_too_large`, and too many requests get `429 rate_limited` with `retry-after`.
