{"mode":"preview","message":"This endpoint is POST-only with payment. The example_response below shows what a successful POST returns.","example_response":{"pqs_version":"2.0","original":{"prompt":"Explain PQS scoring in one sentence to an AI agent operator.","score":{"total":46,"out_of":80,"grade":"C","percentile":58,"dimensions":{"clarity":7,"specificity":6,"context":6,"constraints":5,"output_format":7,"role_definition":5,"examples":4,"cot_structure":6,"total":46}},"output":"PQS scores any LLM prompt on 8 dimensions to catch quality issues before inference."},"optimized":{"prompt":"You are an AI-agent product manager. In one sentence (max 25 words), explain PQS scoring to a technical buyer who evaluates x402 APIs. Focus on: what it measures, when it runs (pre-inference), and why the buyer should care.","score":{"total":68,"out_of":80,"grade":"A","percentile":85,"dimensions":{"clarity":9,"specificity":9,"context":8,"constraints":9,"output_format":9,"role_definition":8,"examples":8,"cot_structure":8,"total":68}},"output":"PQS scores any LLM prompt on 8 dimensions pre-inference, letting AI-agent buyers reject low-quality inputs before paying for a run - catching token waste before it hits your bill."},"improvement_pct":65,"explanation":"Added role framing, length constraint, target reader, and three explicit focal points.","powered_by":"PQS - promptqualityscore.com"},"upgrade":"POST /api/score/full with x402 payment ($0.125 USDC on Base) and body { prompt, vertical } for the optimized prompt + before/after outputs.","try_free":"POST /api/score/free with body { prompt, vertical } for unauthenticated 5/min real scoring.","powered_by":"PQS - promptqualityscore.com"}