// docs / quotas & limits
Quota និង limit
តម្លៃ quota និង rate-limit ខាងក្រោមទាំងអស់បានមកពី entitlements module នៅ build time ដូច្នេះទំព័រនេះមិនអាចឆ្ងាយពីអ្វីដែល server enforce ពិតប្រាកដបានទេ។
Entitlements តាម tier
| ឥតគិតថ្លៃ | ចំណូលចិត្ត | ឯកទេស | Unlimited | |
|---|---|---|---|---|
| Scans / month | 3 | 50 | 200 | គម្រោង Unlimited¹ |
| Projects (verified domains) | 1 | 1 | 5 | 20 |
| API tokens | 0 | 1 | 5 | 20 |
| Webhook endpoints | 0 | 1 | 5 | 20 |
| Active probes | ទេ | បាទ/ចាស | បាទ/ចាស | បាទ/ចាស |
| GitHub repo scans | ទេ | ទេ | បាទ/ចាស | បាទ/ចាស |
| Scheduled re-scans | ទេ | ទេ | ≥3h cadence | ≥6h cadence |
| Live threat detection | ទេ | ទេ | ទេ | បាទ/ចាស |
| Sharable reports | ទេ | ទេ | បាទ/ចាស | បាទ/ចាស |
| Retention | 7 ថ្ងៃ | 30 ថ្ងៃ | 90 ថ្ងៃ | 365 ថ្ងៃ |
| Team seats | 1 | 1 | 1 | 5 |
| Support | standard | standard | priority | dedicated |
¹ The Unlimited plan's scan quota is subject to fair use — see Terms. ² The project cap defaults to 20 active-monitoring domains at ≥6h cadence. Contact support@fixvibe.app to raise it in exchange for a longer scheduled cadence.
API rate limits
រាល់ request /api/v1/* និង /api/mcp ត្រូវបាន key លើ hash នៃ bearer token ហើយ run តាម windows ពីរ:
- Burst: 10 requests ក្នុងមួយវិនាទី។
- Steady: 60 requests ក្នុងមួយនាទី។
- Per signed-in user: 30 scan submissions per 10 minutes — a soft cap above the per-plan monthly quota that absorbs bursts without exhausting the daily budget.
នៅ 429, response រួមមាន:
HTTP/1.1 429 Too Many Requests
content-type: application/json
retry-after: 47
x-ratelimit-limit: 60
x-ratelimit-remaining: 0
x-ratelimit-reset: 1715116200
{
"error": "rate_limited",
"message": "Token rate limit exceeded — steady (60/min). Retry in 47s.",
"retry_after_seconds": 47
}Window ដែល tripped ត្រូវបានដាក់ឈ្មោះក្នុង message (burst (10/s) vs steady (60/min)) ដូច្នេះ client backoff អាច adapt។
ដែនកំណត់ល្បឿនស្កេនគម្រោង Free (ក្នុង IP/24)
On top of the per-org 3-scans-per-month cap, Free plan users face an additional per-IP/24 rate limit: 3 scans per rolling 24 hours per IP /24 block. The same limiter covers anonymous instant scans, which prevents farming Free quota through throwaway accounts on one IP. Requests exceeding the limit return HTTP 429 Too Many Requests with a Retry-After header.
Signup throttle (per IP/24)
ការចុះឈ្មោះជោគជ័យ ៥ ដងក្នុង IP/24 ក្នុងរយៈពេល ២៤ ម៉ោង ដើម្បីការពារការបង្កើតគណនីគម្រោង Free ដោយស្វ័យប្រវត្តិ។ Callback ដែលត្រូវបានកំណត់ល្បឿន redirect ទៅ /sign-in?error=rate_limited។
Retention
Scans + findings auto-purge តាម table ខាងលើ។ Anonymous one-shot scans expire 24h បន្ទាប់ពីបង្កើត។ Audit logs retain 18 ខែ។ Monitor snapshots prune ទៅ 7 ថ្ងៃចុងក្រោយ បូក baseline ថ្មីបំផុតតាម (domain, signal)។ Dismissed alerts purge បន្ទាប់ពី 90 ថ្ងៃ។ Retention ទាំងអស់ enforce រៀងរាល់ថ្ងៃដោយ /api/cron/retention-cleanup។
