Assess risk of an AI prompt without code context
Bearer YOUR_API_KEY"Deploy the updated payment processing code to production""minimal", "low", "medium", "high", or "critical""minimal": score < 0.2"low": 0.2 ≤ score < 0.4"medium": 0.4 ≤ score < 0.6"high": 0.6 ≤ score < 0.8"critical": score ≥ 0.8"SAFE - Minimal risk""MONITOR - Low risk""REVIEW_RECOMMENDED - Some risk factors detected""REVIEW_REQUIRED - Significant risk factors present""BLOCK - High risk detected"unavailable_parameters for details on why factors were omitted.original_weights if some factors were unavailable.weights to see if redistribution occurred.{"blast_radius": "current_file and dependency_graph required"}When to use this endpoint
Interpreting risk scores
blast_radius will be unavailable and excluded from scoresavailable_parameters and unavailable_parameters in the responserecommendations field for specific actions.Custom weights
data_sensitivity weight (e.g., 0.4-0.5)blast_radius weight (e.g., 0.5)input_clarity weight (e.g., 0.5)context_complexity weightlegal_ip_risk weightHandling errors
success field before processing results: