{"message":"QA Quality Assurance API","version":"1.0.0","authentication":"API Key required (X-API-Key header)","endpoints":{"/process-prompt":"POST - Process a QA prompt and return results (requires API key + token for subscription validation)","/health":"GET - Health check endpoint","/notifications":"POST - Create a notification"},"subscription_validation":{"required":true,"token_field":"token (user_id)","validation":"Checks subscriptions table for user_id and credits_available > 0","supabase_auth":"Using service role key for full access to subscriptions table","status":"ENABLED - validates user subscriptions and credits"},"test_case_tracking":{"required":true,"test_case_id_field":"test_case_id","purpose":"Identifies the test case being executed - now fully processed with status updates and result storage"},"credit_system":{"calculation":"1 credit per 10 seconds of execution time","deduction":"Credits are deducted from user subscription after test completion","storage":"Test results are saved to results table with execution time and credits used","status":"ENABLED - full credit tracking and deduction system implemented"},"notifications":{"enabled":true,"endpoint":"/notifications - Create notifications","integration":"Automatic notification creation after test completion","status":"ENABLED - notification creation system implemented"}}