Rate Limit Thresholds
- Standard Token: 600 requests per minute (10 req/s).
- Service Account Token: 3,000 requests per minute (50 req/s).
- Rate Limit Headers:
Standard Error Response Schema
When an API error occurs, Snapsec returns a consistent RFC 7807 problem details object:Error Codes
400 Bad Request: Validation failure.401 Unauthorized: Missing or invalid Bearer token.403 Forbidden: Insufficient RBAC permission or IP restriction.404 Not Found: Resource does not exist.429 Too Many Requests: Rate limit exceeded; back off and retry.