{"openapi":"3.1.0","info":{"title":"guardex — Prompt Injection Screener","version":"1.0.0","description":"Screen any text for prompt injection across 10 attack categories. Returns risk level, detection breakdown, threat snippets, and explanation. Pay-per-call via x402 (USDC on Base).","contact":{"email":"admin@x402tools.xyz"}},"servers":[{"url":"https://guardex.x402tools.xyz"}],"paths":{"/screen":{"post":{"summary":"Screen text for prompt injection — returns risk level, categories, threat snippets, and confidence score","x-payment-info":{"protocols":"x402","price":{"mode":"fixed","currency":"USD","amount":"0.03"},"network":"eip155:8453","payTo":"0xcEbbB82a183Faa69b929eD1F417aAFc63fa3b5b6"},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["text"],"properties":{"text":{"type":"string","maxLength":50000,"description":"Text to screen for prompt injection"},"context":{"type":"object","properties":{"source":{"type":"string","enum":["user_input","web_fetch","tool_output","document","email","unknown"]},"agent_role":{"type":"string","description":"Downstream agent's role for calibration"}}},"options":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["low","medium","high"],"default":"medium"},"explain":{"type":"boolean","default":true},"redacted":{"type":"boolean","default":false}}}}}}}},"responses":{"200":{"description":"Screen result with risk assessment","content":{"application/json":{"schema":{"type":"object"}}}},"402":{"description":"Payment required"}}}}}}